We can say that these are the relative fundamental guide for programming for all the coders out there. It deals with the principles and design for the more efficient and maintainable code.
Be a better programmer everyday life guide with some learned points in the real life coding.
Let's discuss few pointers first:
- DRY - Don't Repeat Yourself
- KISS - Keep it Simple, Stupid
- Code Reuse - Don't write the same thing again and again
- Program Optimization - Don't Make premature optimization in the code
- Separation of Concerns - Make Modules independent if possible
- Law of Demeter - Talk to direct relations only
- Abstraction Principle - Related to DRY is the abstraction principle
- YAGNI - You are not going to need it
- Open/Closed Principle - Open to use but closed for changes in modules
- Single Responsibility Only - One Module One Work
- LCMC - Less Coupling More Cohesion