How does functional programming work?
- by Headcrab
I'm used to imperative/OO programming (know C, C++, Python, PHP, etc.). I wanted to get into functional programming but there are some things unclear to me.
Take for example the languages F# and Haskell:
How do you implement loops? By recursion? Eew.
What about conditions?
How can you get by without variables?
I mean.. What do we have RAM for.. storing variables, right?