Do you REALLY know what SOLID means? (#1: Exclusive Truth about Single Responsibility Principle)

Single Responsibility Principle

Do one thing and do it well!Single Responsibility Principle – This principle states that a class should only have one responsibility. Furthermore, it should only have one reason to change. SRP, like most principles out there, can be over-applied. If we create a new class for incrementing integers, then yeah, that may be a single … Read more

A Simple New Guide To ASP.NET routing – let’s redirect!

redirect

Redirect relates to the routing In ASP.NET. There are two different ways to routing; or changing the current requests endpoint:Rewrite the current URL andRedirect to an external URL.These two tasks are similar but yet different in their execution. Routing in ASP.Net Routing in ASP.NET works by mapping incoming URL requests to specific controller actions. When … Read more

Unlock JS: Powerful REST and SPREAD Magic You Need to Know

three dots

Introduction The rest and spread operators are syntactic features in JavaScript introduced with ECMAScript 2015 (ES6), both denoted by three consecutive dots (). The rest oper- ator is utilized to collect multiple function arguments into a single array, enhancing flexibility and allowing developers to create functions that can accept an indefinite number of parameters. Conversely, … Read more

JavaScript Generators Magic and Their Use Case: Everything Yield Need To Know

javascript

JavaScript generators is an amazing and brilliant concept; yet it’s very confusing when to use them. They let us write infinite loops that terminate. The yield values from functions before they finish and build lazy data structures. The magic lies in the ability of generators functions to be paused and then resumed again. But before … Read more

Git Merge and Rebase: Everything You Need To Know

git merge and rebase

Git rebase solves the same problem as git merge. Both git merge and rebase are used to integrate changes from one branch into another branch – they just do it in different ways; and it’s important to know the difference. Hey there, fellow coders! Today, we’re diving into a topic that’s caused many a headache … Read more