The assignment operator is broken(adrian-salajan.github.io) |
The assignment operator is broken(adrian-salajan.github.io) |
[Edit: I mean, I guess that the proposed approach allows "algebraic reasoning", which some people find helpful...]
> but we aren't writing math paper
It's not about writing math papers, it is about having making refactoring less error prone. Imo, the equals from math helps this cause and it iw worth it.
The new approach may seem harder because we have been programming for 40+ years with side-effects, tracking them ourselves. It is understandable.