News for hackers. Stuff that matters.
Re:How to Emulate the “super” Keyword in C++ by evincarofautumn on Wednesday December 27, 2017 @04:10AM (#16013733)
“…for bases classes with a long name, repeating it in the body of the derived class adds a lot of clutter to it.”

When you write the code, it feels a bit cumbersome. When you read it, though, you know exactly what’s going on—which pays over and over again. These days, for most code in any language, I’m more inclined to say to myself “suck it up and be explicit” when it comes to these small decisions—as long as “explicit” doesn’t get confused with “needlessly long-winded”, of course.

There are no comments on this comment yet.