Refactoring code - A case study (#1 - Response handling)
A detailed case study on refactoring a JavaScript function for handling API responses, focusing on reducing cognitive load and improving maintainability.
A detailed case study on refactoring a JavaScript function for handling API responses, focusing on reducing cognitive load and improving maintainability.
Michael Feathers reflects on software's struggle with complexity and the need to learn from other fields' research to manage it better.
A developer recounts the process of reviving a deprecated open-source Python library for parsing recipe ingredients, detailing the challenges of legacy code.
A developer continues building an app with Angular and ASP.NET Core, focusing on shopping cart functionality, component refactoring, and VS Code extensions.
A developer shares their process of refactoring a Vue.js application, focusing on improving component structure and using modern ES6 features.
A practical guide to using Go struct embedding to extend API responses with development metadata, avoiding code duplication.
A developer shares lessons learned from refactoring a SpringMock parser class, emphasizing behavior verification pitfalls in testing.
A PHP developer shares how his book 'Refactoring to Collections' earned $61k in three days, enabling him to quit his job and work full-time on his own projects.
A personal list of the author's favorite and most impactful web development and design conference talks from 2016.
Explores why 'else' expressions are considered unnecessary in programming, offering alternative patterns like early returns and the State Pattern.
A tutorial on refactoring a React application from Redux to MobX for state management, covering key concepts and dependencies.
A developer revisits and improves their JavaScript Tic Tac Toe game, focusing on refactoring win-checking logic and adding AI tactics.
A guide for developers on how to approach and manage an inherited legacy codebase, focusing on mindset, planning, and practical steps.
A developer's exploration of replacing verbose anonymous classes with concise lambda expressions and method references in Java.
A developer reflects on the value of functional, working code over perfect architecture, using a collaborative iOS project as an example.
A summary of Martin Fowler's talk on refactoring workflows, covering the refactoring mindset, the 'two hats' metaphor, and reasons to refactor.
A developer details the step-by-step refactoring of a complex single-page JavaScript canvas application, exploring MVC patterns to reduce complexity.
A developer shares techniques for writing cleaner, more readable code by reducing duplication and using assertions and macros effectively.
Explores advanced refactoring techniques like dictionary mappings and block-based dynamic mapping to simplify and clean up code, making it more readable and maintainable.
Exploring function pointers in IDL (Interactive Data Language) for refactoring legacy scientific code, with insights into the language's syntax and quirks.