All Posts

  • Published on
    View count
    21 views
    Discover how the Dependency Inversion Principle improves code maintainability and modularity by relying on abstractions and inverting control of dependencies.
  • Published on
    View count
    4 views
    Trying to optimize your code is a waste of time in some cases. Modern browsers do a lot of optimizations at runtime.
  • Published on
    View count
    12 views
    Using getters and setters is better than accessing the object property directly. Accessing properties directly breaks encapsulation.
  • Published on
    View count
    10 views
    Simplify your code and improve testability by minimizing function arguments. Discover how fewer arguments enhance readability and maintainability.
  • Published on
    View count
    33 views
    Follow best practices and adhere to the single responsibility principle by not using flags as function parameters. Improve code comprehension and modularity.