3 ms·
This is all true, but all these argument are 98% the same for a.plus(b), which is common in widely used libraries and the Java stdlib. So why is a.plus(b) bett
by dtech 5y ago
This is all true, but all these argument are 98% the same for a.plus(b), which is common in widely used libraries and the Java stdlib.
So why is a.plus(b) better than a + b? What would be the problem of translating "a + b" automatically into a.plus(b) like how Kotlin does it?