3 ms·
It was something introduced like a 1 april joke. Clean implementation of any programming language won't have that.
by fatih-erikli-cg 2y ago
It was something introduced like a 1 april joke. Clean implementation of any programming language won't have that.
- kortex 2y agoThat ship has long sailed. ALGOL 1958 used := and Pascal popularized it. https://en.m.wikipedia.org/wiki/Assignment_(computer_science) https://en.m.wikipedia.org/wiki/Assignment_(computer_science...
- fatih-erikli-cg 2y agoI think they scan the code by two characters because one is not enough for <= and => so what is why assignment is := or =:. Probably + is ++ too.
- hnlmorg 2y agoI actually think it’s more readable because it makes the distinction between assignment and equivalence very clear. bugs originating from the similarity of == vs = has probably cost the industry millions over the last 3 decades.