Toot

Written by Harry W. on 2025-01-30 at 11:51

Been looking at immutability in JavaScript today and wow... it's as annoying as it is in Java, but with less of the paradigms around it (getters and setters).

And objects.assign({}, yourOb) is shallow too.

Meanwhile, primitives are totally immutable (winner!)

[#]JavaScript #Java #code #WebDev

=> More informations about this toot | View the thread | More toots from hazz223@mstdn.social

Mentions

Tags

=> View javascript tag | View java tag | View code tag | View webdev tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113917158232039845
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
240.661372 milliseconds
Gemini-to-HTML Time
0.677221 milliseconds

This content has been proxied by September (3851b).