Learn how to avoid callback hell without ditching callbacks! By applying some SOLID principles, callbacks can still be a useful technique.
Tag: Refactoring
Take the pain out of updating your code using jscodeshift to automate the changes. Chris Laughlin introduces explains how to create and apply codemods.
Danny explains why he moved from Laravel to a Go version of his app and explains which advantages a Golang rewrite of his web app brought him.
Yaphi Berhanu demonstrates how to plan your web dev projects, making them an iterative process and breaking large problems into small bite-size pieces.
Java's Optional, unlike may-or-may-not-contain-a-value types in other languages, is no well-behaving monad. And this matters to everyday developers like us!
Paul Wilkins demonstrates various JavaScript refactoring techniques to make your code more generic & strike the balance between readability and reusability.
Jani demonstrates techniques for writing self-documenting code that make it easier to understand, reduce the need for comments, and improve program design.
Refactoring a legacy code base? Moritz Kröger shows you how to achieve maintainable JavaScript with tests, linting and modularization.
Refactor your app to use Angular 1.5 components. Jay Raj shows you how to prepare your code for eventual migration to Angular 2.
Read Golden Master Testing: Refactor Complicated Views and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
This article explores how Angular controllers can be simplified by incorporating factories and services.
This is the part 3 of article Practical Code Refactoring. Code refactoring is about re-thinking everything in your code for the sake of making it better.
Code refactoring is about re-thinking everything in your code for the sake of making it better. See how to make code more readable in this part of the series.
This is the 1st part of article Practical Code Refactoring, Part 1 - What is Good Code?, by the author Abdullah Abouzekry.