News for hackers. Stuff that matters.
Re:Strings Just Got Faster by SkiFire13 on Saturday May 03, 2025 @02:32AM (#43877252)
> easy to take another class and copy it with small modifications but not mess it up for anyone else (inheritance)

That sounds like a recipe for disaster though, as it generally makes code much harder to read.

Re:Strings Just Got Faster by dgoldstein0 on Saturday May 03, 2025 @03:17AM (#43877399)
Agree, inheritance tends to be overused when programmers try to get too clever. The flatter the class hierarchy the better