BrikoX@lemmy.zipM to Technology@lemmy.zipEnglish · 2 个月前In 1995, a Netscape employee wrote a hack in 10 days that now runs the Internetarstechnica.comexternal-linkmessage-square43linkfedilinkarrow-up1230arrow-down12file-textcross-posted to: technology@piefed.social
arrow-up1228arrow-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 个月前message-square43linkfedilinkfile-textcross-posted to: technology@piefed.social
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkEnglisharrow-up2arrow-down3·2 个月前Concepts from Scheme? You sure about that?
minus-squarecerement@slrpnk.netlinkfedilinkEnglisharrow-up10·2 个月前when you want Scheme but your boss wants Java
minus-squareMacN'Cheezus@lemmy.todaylinkfedilinkEnglisharrow-up9arrow-down1·2 个月前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/
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/