BrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 2 months agoIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comexternal-linkmessage-square43fedilinkarrow-up1217file-textcross-posted to: hackernews@lemmy.bestiver.setechnology@lemmit.onlinetechnology@lemmy.worldtechnology@hexbear.net
arrow-up1217external-linkIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comBrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 2 months agomessage-square43fedilinkfile-textcross-posted to: hackernews@lemmy.bestiver.setechnology@lemmit.onlinetechnology@lemmy.worldtechnology@hexbear.net
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkEnglisharrow-up2·2 months agoConcepts from Scheme? You sure about that?
minus-squarecerement@slrpnk.netlinkfedilinkEnglisharrow-up10·2 months agowhen you want Scheme but your boss wants Java
minus-squareMacN'Cheezus@lemmy.todaylinkfedilinkEnglisharrow-up10·2 months agoYep. 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: https://mostly-adequate.gitbook.io/mostly-adequate-guide/
Concepts from Scheme? You sure about that?
when you want Scheme but your boss wants Java
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: https://mostly-adequate.gitbook.io/mostly-adequate-guide/