Classes with inheritance and virtual methods: damned if your language has them, damned if your language doesn't.
-
-
Because it's like: 80% of the time, an enum is fine instead of an inheritance hierarchy. 80% of the remainder, a trait and generic functions are fine. 80% of the remainder, trait objects are fine.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What would private trait methods do?
-
I meant protected methods, sorry.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.