News for hackers. Stuff that matters.
Re:Ask HN: How to explain functional programming to my 13-ye... by eveningcoffee on Thursday December 10, 2015 @11:20AM (#10711401)
I think that maybe you should start from some fundamental questions like why one should at all want to write in a functional programming language (immutable data, pure functions etc, and perhaps you have to learn it first by yourself).

If your child already understands some OOP concepts like objects, classes, you could approach it from that perspective, that is, functions are special case of classes (and then explain why we want this). The whole Clojure language on top of JVM is built on this idea, so why not.

There are no comments on this comment yet.