encapsulation

In Defense of Encapsulation

Last week, during a lecture on access specifiers, one of my brightest students stopped me mid-sentence. “Professor,” she said, “this is all obsolete. In the modern world we don’t need encapsulation. Look at Python — there is no private, no public, no ceremony, and it powers half the internet, all of machine learning, and most […]