#code-maintainability

[ follow ]
UX design
fromInfoWorld
2 months ago

Five rules for coding with Booleans

Using enums over Booleans improves clarity and maintainability in code. Future expansions are easier to implement with enums.
fromLogRocket Blog
3 months ago

Solid series: Single Responsibility Principle (SRP) - LogRocket Blog

SOLID principles are like architectural blueprints for code, ensuring robust and maintainable software by promoting structured design through key principles.
Software development
Java
fromInfoWorld
3 months ago

How to use guard clauses in C#

Guard clauses prevent runtime exceptions by validating input data and enforcing data integrity.
They enhance code readability and maintainability by defining clear preconditions.
#typescript
fromAllthingssmitty
4 months ago
JavaScript

Leveraging

The any type compromises TypeScript's type safety, while the unknown type enforces type checks, enhancing code safety and maintainability.
fromLogRocket Blog
4 months ago
React

TypeScript enums: Usage, advantages, and best practices - LogRocket Blog

TypeScript enums improve code maintainability by organizing constants under named identifiers, reducing errors from hardcoding values.
Python
fromRealpython
4 months ago

Python's Instance, Class, and Static Methods Demystified - Real Python

Instance, class, and static methods have distinct roles in Python programming and are essential for writing maintainable code.
fromHackernoon
2 years ago

Code Smell 273 - Overengineering | HackerNoon

Overengineering complicates code and reduces maintainability, advocating for simplicity leads to better software design.
[ Load more ]