BrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 3 months agoIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comexternal-linkmessage-square43linkfedilinkarrow-up1250arrow-down12file-text
arrow-up1248arrow-down1external-linkIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comBrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 3 months agomessage-square43linkfedilinkfile-text
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkEnglisharrow-up2arrow-down3·3 months agoConcepts from Scheme? You sure about that?
minus-squareMacN'Cheezus@lemmy.todaylinkfedilinkEnglisharrow-up11arrow-down1·3 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/
minus-squarecerement@slrpnk.netlinkfedilinkEnglisharrow-up10·3 months 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