when you want Scheme but your boss wants Java
Comment on In 1995, a Netscape employee wrote a hack in 10 days that now runs the Internet
SpaceNoodle@lemmy.world 1 week ago
Concepts from Scheme? You sure about that?
cerement@slrpnk.net 1 week ago
MacNCheezus@lemmy.today 1 week ago
Yep. JavaScript is basically a LISP wearing a Java trenchcoat. Functions are first class citizens and can be passed around just like variables. Object orientation is weird and bolted on as an afterthought.
In case you’re wondering just how much functional programming is possible in JS, I recommend reading this: …gitbook.io/mostly-adequate-guide/