Code Untangled: Immutability You heard about the term "immutability" in programming. But why is immutability an important concept? Why is it mentioned so often in programming and especially in the front-end world?
Flutter Freezed: a short guide on how to use it and reduce boilerplate code Boilerplate code represents chunks of code that are minimally varied and replicated elsewhere. It is never fun to write boilerplate code but do not confuse boilerplate code with repetitive code. For example, if you want to create an HTML document, you must write html, head, and body tags otherwise your
7 Tell-Tale Signs of Unreadable Code: How to Identify and Fix the Problem A complicated project has a massive quantity of code. Hundreds of methods and classes, thousands of lines of code. If you want to avoid becoming lost in the jungle of code, relevant and easy-to-understand code is a must-have criterion in large projects. Unfortunately, every developer had to deal with the
Understanding and fixing the "too many re-renders" error in React: A short guide If you have ever worked in React, there is a good chance that you encountered this error: Error: Too many re-renders. React limits the number of renders to prevent an infinite loop. A simple button counter component will be used to understand what is happening behind this error. Clicking on
The most important design patterns you need to know as a developer (part 3) After part 1 and part 2, where creational and structural design patterns were explained, the third and final part is about behavioral design patterns. Behavioral design patterns are the patterns that provide efficient communication and interaction between classes and objects and improve responsibilities between entities. We will go through 10
The most important design patterns you need to know as a developer (part 2) After part 1, where creational design patterns were explained, the second part is about structural design patterns. While creational design pattern offers developers various object-creation mechanisms, structural design patterns are all about combining those objects and classes into larger structures while keeping them flexible and efficient. We will go through
The most important design patterns you need to know as a developer (part 1) I consider design patterns as good weapons for developers’ arsenal. The more you have/know, the better. However, you must not make the same mistake I did when I first discovered them. Let me be metaphoric here, if you want to hunt a deer, you will not use a bazooka,