Prefer duplication over code that depends on if-else Back in 2018, when i had just begun coding, it was during the rise of JavaScript frameworks like React, Vue, and others like them. Those frameworks redefined frontend code and development as we know of, from the days of jquery. One thing that stood out to me…

Read More