Reference types, Nullables, immutability and side effects
Nov 24, 2023
Many programming languages have reference types and value types with some differences in concept between them, but here we will ask about how this works in C#, and also how these concepts are related to immutability and side effects (code smell).
Be consistent without limiting conventions
Nov 12, 2023
Another post about code smells today talks about Inconsistency the principle of inconsistency is simple and doesn't generate much discussion, although it is crucial to maintain consistency it can end up creating a big dilemma, which is to remain consistent at any cost or allow yourself to be inconsistent to add meaningful improvements incrementally.
Feature envy code smell why worry about it
Jun 22, 2023
Feature envy code smell is a much more common code smell than it sounds and is sometimes overlooked by even the most experienced developers. Here I will try to convince you of the benefits to your code if you avoid it, some of them are readability, better attribution of responsibilities, encapsulation, immutability and in some cases help with some SOLID concepts like Single Responsability Principle.