4 ms·
It does make that case more readable, yes -- but is it worth making the language a bit harder to learn for new developers? Two assignment operators instead of
by theptip 9y ago
It does make that case more readable, yes -- but is it worth making the language a bit harder to learn for new developers?
Two assignment operators instead of one doesn't seem that hard to wrap my head around, but Python is used widely in education as well, and we should also pay heed to the lessons of C++ - the road to incomprehensible languages is paved with good-intentioned syntax.