Re:Rust – How do I create a global, mutable singleton? (2015)
by mekoka on Wednesday July 22, 2020 @01:13PM
(#23919220)
Inheritance is the stuff that I dread when reading code. A class that inherits from another class (which itself isn't a base type) looks to me like the entrance of a labyrinth, or a reminder that it's time to go get a coffee.
It's not the end of the world, but it's unnecessary and avoidable pain.
It's not the end of the world, but it's unnecessary and avoidable pain.