Thadah D. Denyse@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 3 个月前Version Controllemmy.blahaj.zoneimagemessage-square57linkfedilinkarrow-up1399arrow-down115
arrow-up1384arrow-down1imageVersion Controllemmy.blahaj.zoneThadah D. Denyse@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 3 个月前message-square57linkfedilink
minus-squaremEEGal@lemmy.worldlinkfedilinkarrow-up14arrow-down2·3 个月前the last one is just immutability, praised in modern JS / TS, albeit at the repo level
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up16·3 个月前I “love” how JavaScript has slowly rediscovered every piece of functional programming wisdom that was developed before 1980.
minus-squareexpr@programming.devlinkfedilinkarrow-up2·3 个月前Kind of, though they honestly just do pretend immutability. Object references are still copied everywhere.
minus-square0101100101@programming.devlinkfedilinkEnglisharrow-up5·3 个月前All of javascript is kinda just pretend.
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up2·3 个月前I find you need the whole ecosystem to support immutability to make it work. Every library needs to be based around it. Elixir is about the only modern option that does.
the last one is just immutability, praised in modern JS / TS, albeit at the repo level
I “love” how JavaScript has slowly rediscovered every piece of functional programming wisdom that was developed before 1980.
Kind of, though they honestly just do pretend immutability. Object references are still copied everywhere.
All of javascript is kinda just pretend.
I find you need the whole ecosystem to support immutability to make it work. Every library needs to be based around it. Elixir is about the only modern option that does.