News for hackers. Stuff that matters.
Re:Functional Programming Jargon by altcognito on Sunday July 24, 2016 @01:52PM (#12154033)
The reason they use JavaScript is because it's known by many and the examples can be tried without downloading/having an additional compiler. There are at least two dozen concepts on the list there - the value of illustrating new concepts for some with a known quantity far outweighs the downsides of having to start with a fresh environment.

I will say though for the exact cases you mention, they probably should be clear why this isn't exactly the concept as described.

Re:Functional Programming Jargon by gaius on Sunday July 24, 2016 @01:55PM (#12154043)