4 ms·
Just because something is unfamiliar doesn't make it worse. Operators, once learned, can greatly improve readability of code. If you had never seen +,-,%,• bef
by zacclark 10y ago
Just because something is unfamiliar doesn't make it worse. Operators, once learned, can greatly improve readability of code.
If you had never seen +,-,%,• before, simple math statements would be inscrutable. But, once you take the (short) time to learn them you can express things much better than if you had to write `add`, `subtract`, etc everywhere.
- dragonwriter 10y ago> If you had never seen +,-,%,• before, simple math statements would be inscrutable. But, once you take the (short) time to learn them you can express things much better than if you had to write `add`, `subtract`, etc everywhere. A point that is particularly poignant to anyone who has ever dealt with code using custom numeric types in a language that doesn't let you define custom operators (or overload operators).