Yes, protected fields should work just fine. It'll be impossible to hit them accidentally, and they play well with inheritance.
I agree that literal fields should just stay fields. As a nice side-effect, my IDE highlights them differently.
Yes, protected fields should work just fine. It'll be impossible to hit them accidentally, and they play well with inheritance.
I agree that literal fields should just stay fields. As a nice side-effect, my IDE highlights them differently.