Encapsulation Not Always Desirable
From my earliest experience with object-oriented programming, I learnt that one of the biggest benefits of the paradigm was the concept of encapsulation. Lately, my experience with developing in JavaScript and creating libraries have led me to come t...
10printiamcool.com4 min read
Oly
Nodding head violently in agreement. I have a similar post idea in my head about code re-use. For years the nirvana I aspired to was to ensure there was no code duplication. When we finally got to that point the fear, and complexity of change of core components created such exponential risk it was crazy, even with meticulous high quality unit tests across the board. The only virtue of it was to scare off the feint hearted from messing with it.
Insomniac out.