Thadah D. Denyse@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 1 年前Version Controllemmy.blahaj.zoneimagemessage-square57fedilinkarrow-up1396arrow-down115
arrow-up1381arrow-down1imageVersion Controllemmy.blahaj.zoneThadah D. Denyse@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 1 年前message-square57fedilink
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up15·1 年前I “love” how JavaScript has slowly rediscovered every piece of functional programming wisdom that was developed before 1980.
minus-squareexpr@programming.devlinkfedilinkarrow-up2·1 年前Kind of, though they honestly just do pretend immutability. Object references are still copied everywhere.
minus-square0101100101@programming.devlinkfedilinkEnglisharrow-up5·1 年前All of javascript is kinda just pretend.
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up2·1 年前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.
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.