#Clean Code

Posts tagged with this topic.

Architecture: Don't Marry The Framework

Feb 5, 2020

I've read a book by Robert C. Martin book titled Clean Architecture: A Craftsman's Guide to Software Structure and Design and was amazed by one statement in the book: Don't marry the framework. Robert C. Martin Based on Uncle Bob's opinion, coupling a third-party library directly...

Extension for Cleaner Code

Aug 5, 2019

The extension method in C#, VB, or F# is a static method that accepts this modifier of TInput. The method can be either void or return value. From the MSDN definition, Extension methods enable you to "add" methods to existing types without creating a new derived type,...

About Cyclomatic Complexity

Sep 21, 2018

I read one of the blog posts in dev.to about this Cyclomatic Complexity and I couldn't resist also not talking about this one. Because I see a lot of programmers making this mistake without knowing it. So just today I checked my email and saw there is an automatic email...

Merging Javascript for Dynamics CRM Development

Jul 25, 2018

SOC (Separation of Concerns) is one of the best Design Patterns that I love so much. Using this design pattern, I found it easier for me to identify bugs in my code. When developing Javascript code on Dynamic CRM, I will separate my concerns into three parts: Events: Bridge from...

Simple Code Advice

Apr 1, 2018

When you do code, please avoid declaring not read only variables as a private property for a class. For example: If your user reports a bug, then when you want to search the root cause of the problem, it will be challenging because it is very hard to check. Suggestion For...