In software development, component principles are a guide for arranging classes into components to make them more organised and manageable. Components are the smallest entities that can be deployed as part of a system. These principles help us to understand which classes should go into which component (component cohesion) and how these components should relate with one another (component coupling).
This is important due to software grows bigger and more complex over time, the need for organising classes into components becomes more important. This principle will help us organise and build concise, reusable and maintainable software
The component cohesion principles…
How to be more productive is something that I have been working recently. Often, I got overwhelmed by the number of tasks that accumulate on my day-to-day, and I didn’t know where to start. After doing some research on this topic and testing some framework, I found what works for me. With this article, I would like to share with you a method that helps me.
The first step is defining what your objectives are and set your intention. A useful method to identify your goals is defining SMART Goals. The SMART Goals acronym stands for Specific, Measurable, Acceptable, Realistic…
Design patterns are solutions for typical and recurring problems that we may encounter when developing an application. In this article, is focus on the Strategy Pattern.
The strategy pattern defines a family of algorithms, encapsulate each one as an object, and make them interchangeable independently of the clients that use them.
This pattern allows us to add new functionality without refactoring the current code by adding or eliminating behaviours according to the business needs. Additionally, this pattern helps to achieve two of the SOLID principle:
Single Responsibility: “A class should have only reason to be changed”.
Open-Closed: “Software entities (classes, modules, functions.)…