TLDR Web Dev · QUICK LINKS
PUBLIC/PROTECTED/PRIVATE IS AN UNNECESSARY FEATURE
Summary from the TLDR Web Dev newsletter
Access modifiers like public, protected, and private are a redundant feature in object-oriented programming because they duplicate the interface-defining capabilities already provided by virtual methods and subtyping.