BrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 6 days agoIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comexternal-linkmessage-square43linkfedilinkarrow-up1241arrow-down12file-textcross-posted to: technology@lemmit.onlinetechnology@lemmy.world
arrow-up1239arrow-down1external-linkIn 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comBrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 6 days agomessage-square43linkfedilinkfile-textcross-posted to: technology@lemmit.onlinetechnology@lemmy.world
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkEnglisharrow-up2arrow-down3·6 days agoConcepts from Scheme? You sure about that?
minus-squarecerement@slrpnk.netlinkfedilinkEnglisharrow-up10·6 days agowhen you want Scheme but your boss wants Java
minus-squareMacN'Cheezus@lemmy.todaylinkfedilinkEnglisharrow-up10arrow-down1·6 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/
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/