Tag: JavaScript
-
Calculating incremental increases
Here’s how to use JavaScript to calculate incremental increases over time.
-
What is the Open-Closed Principle?
Let’s look at the Open-Closed Principle in object-oriented programming and how can it help you develop better applications and software.
-
What is the Single Responsibility principle?
What is the Single Responsibility principle? Let’s look at how it can help you write better classes for your JavaScript applications.
-
Putting the “fun” into refactoring functions
Let’s have “fun” looking at the code inside some functions and see how we can simplify them.
-
Creating a Todo class
Let’s create a simple class to make managing todos easier and better structured.
-
Extracting function logic from controllers
Let’s clean up our controller by extracting some logic to independent functions. It’s not as boring as it sounds.