3 ms·
> Perhaps the problem isn't really the increment operator, but rather folks writing too fancy of code while using it I find this is a common theme of many comp
by Sohcahtoa82 4y ago
> Perhaps the problem isn't really the increment operator, but rather folks writing too fancy of code while using it
I find this is a common theme of many complaints of C++ and OOP.
For example, C++ lets you do some incredibly ugly things using operator overloading. This can be useful so you could, say, make a matrix class and allow matrix operations to just using + or * rather than .add and .multiply functions. The fact that it can be abused to do very non-sensical, unintuitive things should be a criticism of the programmer who does it, not the feature.