Protected variables cause subtle bugs – don’t use them
This has been said before: Protected variables are evil (blog post gone). But apparently as I’ve been doing some debugging into the Eclipse code I’m reminded it needs saying again. Let’s suppose we write a base class public class SimpleBase { protected Object ...continue reading
COMMENT 4