Thadah D. Denyse@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 2 days agoVersion Controllemmy.blahaj.zoneimagemessage-square56fedilinkarrow-up1381arrow-down112
arrow-up1369arrow-down1imageVersion Controllemmy.blahaj.zoneThadah D. Denyse@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 2 days agomessage-square56fedilink
minus-squaremEEGal@lemmy.worldlinkfedilinkarrow-up14arrow-down2·2 days agothe last one is just immutability, praised in modern JS / TS, albeit at the repo level
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up16·2 days agoI “love” how JavaScript has slowly rediscovered every piece of functional programming wisdom that was developed before 1980.
minus-squareexpr@programming.devlinkfedilinkarrow-up2·2 days agoKind of, though they honestly just do pretend immutability. Object references are still copied everywhere.
minus-square0101100101@programming.devlinkfedilinkEnglisharrow-up5·2 days agoAll of javascript is kinda just pretend.
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up2·2 days agoI 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.