4 ms·
"#41 Cannot create a final abstract class" is borderline too
by mrspandex 15y ago
"#41 Cannot create a final abstract class" is borderline too
- lox 15y agoYup, wouldn't a final class with a private constructor be more appropriate there?
- pornel 15y agoIndeed. In 5.3 you could have regular functions in a namespace, so there's no need to abuse class for that any more. Other than that it smells like a variation of the singleton antipattern.
- glenjamin 15y agoI like to think that declaring a class as "final" is simply a lack of imagination.