Category design patterns
Solid Design Patterns for Mere Mortals
Phil Japikse does a pretty nice presentation during .Net Conf 2017, about Design Patterns. Worth taking a look at and get back to “basics”. If you look at your code and automatically feel like you need to add comments, maybe you have too much and should decouple more. Creational Paterns Structural Patterns Behavioral Patterns Observer […]
ANTIPATTERN – Cut and Paste Programming
I love reading computer manuals, be they about software architecture, algorithmic, programming, security, cloud storage and operations, big data, machine learning or others. The following text is taken from the book “AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis“ ——————————————————————————– Also Known As: Clipboard Coding, Software Cloning, Software Propagation Root Causes: Sloth BACKGROUND Cut-and-Paste Programming is a […]
AntiPattern – Spaghetti Code
I love reading computer manuals, be they about software architecture, algorithmic, programming, security, cloud storage and operations, big data, machine learning or others. The following text is taken from the book “AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis“ ——————————————————————————– Root Causes: Ignorance, Sloth BACKGROUND The Spaghetti Code AntiPattern is the classic and most famous AntiPattern; it […]
Inherit or Compose?
Object-Oriented Programming has brought lot of very interesting discussions over the years. One of them is about deciding when one should use inheritance, or composition. I read a pretty nice article about it recently. Here is how the article ends: Inheritance should only be used when: Both classes are in the same logical domain The […]
Principles in Refactoring
I always enjoy reading or listening to Martin Fowler. The following comes from his book, Refactoring. _________________ The word Refactoring has two definitions depending on context. The first definition is the noun form. Refactoring (noun): a change made to the internal structure of software to make it easier to understand and cheapter to modify without […]
Professional code vs good code
This week, we were discussing about performance, bugs prevention, issue detection and fix, and how it was important to write code that make problems fix easy. The kind of code you would write as a developer, that would allow someone in the Ops team to understand what’s happening on Production. A mention was then made […]