News for hackers. Stuff that matters.
Re:Lua, a Misunderstood Language (2021) by Sohcahtoa82 on Thursday September 29, 2022 @02:07PM (#33024796)
> 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.

There are no comments on this comment yet.