// Implement
Programmer Humor
24
Posts
17
Posters
1
Views
-
This post did not contain any content.wrote on last edited by [email protected]
Thank goodness for the JIT and compiler optimizations.
-
Yeah, just to say it more clearly: that kind of thing is why lots of people out there insist that operator overloading is a bad idea.
And yeah, it's a C++ thing that mostly doesn't happen in other languages.
Sincerely agree. Explicit is better then implicit, that’s a general engineering axiom.
Instead of overloading and making the next maintainer hunt for overloads, a clearly named function that does the critical steps would make the code immensely more maintainable. C++ is C gone wild.
-
Thank goodness for the JIT and compiler optimizations.
...would JIT optimizations even help here?
-
As a shotgun. That's why people don't shoot themselves in the foot with a shotgun.