Ask HN: Functional Programming Differences

https://news.ycombinator.com/item?id=1173854
by DanielBMarkham • 16 years ago
22 29 16 years ago

I found out today that I'm speaking at the local Code Camp next weekend. The topic is introducing F# and functional programming to a lot of C# and VB Microsoft guys.

I've got some good sample code, but my question is this: what are the key things you would tell an imperative programmer about functional programming? I need about a dozen key points to get across before I start drowning them in code.

So far I'm thinking: "start little, grow big", "stay immutable", "factor relentlessly", "learn recursion", and "treat functions as first-class citizens"

Any other blurbs come to mind that capture the differences in thinking between imperative and functional code?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com