#Oop
5 notas · última:
Time to refactor legacy with OOP
The article shows a legacy stats method that mixes tuple fields and is hard to read, then refactors it with OOP, iterators, and a builder-based workflow.
Putting SOLID into Perspective
The post treats SOLID as a useful but limited heuristic, not a set of rules, and compares it with CUPID and other design tools like RDD, GRASP, DRY, code smells, and Tell, Don’t Ask.
Software Engineering Principles
The post introduces core software engineering and OOP ideas, then ties them to SOLID, composition, DRY, KISS, YAGNI, and UML-based modeling for cleaner, more maintainable code.
Programming paradigms you must know
The article says developers should know programming paradigms to choose a problem-solving approach, and it outlines imperative, procedural, object-oriented, declarative, logic, functional, and reactive styles.
Get Rid of That Code Smell – Primitive Obsession
Primitive Obsession happens when primitive Ruby objects are used in places where they do not fit the domain. The post recommends replacing them with rich objects that carry the right semantics and API.
