BrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 2 days agoIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comexternal-linkmessage-square45fedilinkarrow-up1235arrow-down12file-textcross-posted to: technology@lemmy.worldtechnology@hexbear.net
arrow-up1233arrow-down1external-linkIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comBrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 2 days agomessage-square45fedilinkfile-textcross-posted to: technology@lemmy.worldtechnology@hexbear.net
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkEnglisharrow-up2arrow-down3·2 days agoConcepts from Scheme? You sure about that?
minus-squareMacN'Cheezus@lemmy.todaylinkfedilinkEnglisharrow-up11arrow-down1·2 days 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/
minus-squarecerement@slrpnk.netlinkfedilinkEnglisharrow-up10·2 days agowhen you want Scheme but your boss wants Java
Concepts from Scheme? You sure about that?
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/
when you want Scheme but your boss wants Java