3 ms·
My oldest is a girl who spends several hours a day drawing comics so I'm not sure she would enjoy programming, bu tI do have some thoughts on the subject as a p
by alistproducer2 10y ago
My oldest is a girl who spends several hours a day drawing comics so I'm not sure she would enjoy programming, bu tI do have some thoughts on the subject as a person that has taught children programming.
I find that functional languages force the user to think in a more artistic, creative way than imperative languages. It's out of the box thinking by design. The danger is that if the student is interested enough to push past the initial discomfort of being lost, you risk poisoning the well for some time (maybe forever).
Learning programming is stumbling through the woods no matter the language design, but functional languages can be more brutal.
- davelnewton 10y agoIf the person in question hasn't been exposed to anything else there's no unlearning. It's easier to teach a non-programmer FP than a programmer that's been exposed to imperative programming only (at least in my experience). Not including Haskell here.
- tonyedgecombe 10y agoFunctional programming certainly changes the way you think about many problems but I'm doubtful learning an imperative language first is detrimental.
- davelnewton 10y agoIt depends; I should amend it to say that if all that is focused on is imperative programming it can be a greater leap to FP than if the initial learning is either a comparative class or FP-first.
- pythonaut_16 9y agoImperative programming is just functional programming where some (many) of the inputs and outputs are hidden :)