2 Matching Annotations
- Jun 2023
-
stackoverflow.com stackoverflow.com
-
I'm not saying never mark methods private. I'm saying the better rule of thumb is to "make methods protected unless there's a good reason not to".
-
I can't count the number of times I've been wrong about whether or not there will ever be a need to override a specific method I've written.
-