DigiNews

Tech Watch Articles

← Back to articles

Generalised plusequals

Quality: 7/10 Relevance: 6/10

Summary

A personal note about a quarter-baked language concept that generalises infix operators using a keyword alt, introducing new operators like ]= and .= to enable immutable updates of nested data. The article compares to Python, demonstrates nested data reassignments without mutating originals, and showcases a postfix infix feature with tilde, along with reflections on mutability and language design.

🚀 Service construit par Johan Denoyer