A very important topic in object-oriented design is cohesion & coupling. Cohesion is about the relationship between all the methods inside a class. Are they using the same set of instance variables & parameters, all working together towards the same goal? Or does every method feel separate from each other? Coupling is how dependent is […]
The post How To Dramatically Improve Your Ruby Code With Fundamental Oop Principles appeared first on RubyGuides. Don't miss your free gift here :)