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.
Tobias looks at the process of refactoring code to make it cleaner - more readable, more intuitive. Do you think it's worth the time and effort?
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.
Jeroen Moons offers advice and lessons learned on how to get a legacy codebase under control and bring it to a new level of maturity.
Read Improve the Smell of Your Code with Microrefactorings and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
In the news this week: Star Trek replicators, responsive web design and the importance of testing. Check out the best links in our weekly round-up.
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.
Read On Our Radar: Android's Material, Better Design, and Refactoring 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.
Code refactoring is about re-thinking everything in your code for the sake of making it better. See how to make code more efficient in this part of the series.
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.