No Access to Others’ Private Parts: One of the Many Reasons OOP Never Reached its Potential

Sean Hoffman
8 min readOct 6, 2021

TL;DR Version: Please stop using the private keyword and start using protected instead in your C++, C#, and Java classes. Over-use of the private keyword enforces an unnecessarily Draconian limitation and fundamentally limits code-reuse.

--

--

Sean Hoffman

Software Developer (C++, C#, Go, others), Husband, Father. I eat fried potatoes annually on July 14th.