Articles by Tag #refactoring

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Good Refactoring vs Bad Refactoring

I've hired a lot of developers over the years. More than a few of them have come in with a strong...

Learn More 112 11Aug 23 '24

3 Rs of Software Architecture for iOS based in SwiftUI

Software Architecture After over 50 years of software engineering, we still haven't...

Learn More 22 1Jul 10 '24

OpenRewrite: Refactoring as code

Introduction à OpenRewrite

Learn More 16 0Feb 7

From Legacy Software to Strategic Opportunity: The Starting Point (I)

When we talk about legacy software, we often think of outdated or poorly designed applications....

Learn More 6 0Jan 13

🧠 From Prototype to Production: 6 Essential Fixes for Your LLMService Class 🚀

"Your LLM code works... until it doesn’t — especially on someone else’s machine." That was me last...

Learn More 6 3Jun 20

Late Night Refactors #1: Composer Packages

This is the start of something I have never done before! I welcome you all to the beginning of my...

Learn More 6 0Feb 6

Make your package.json readable again by humans: organizing npm scripts with shell files

In Node.js projects, the package.json file often serves as a convenient repository for our npm...

Learn More 5 1Sep 30 '24

🚀 Production-Ready: 6 Advanced Fixes for Your LLMService Class 🚀

If you thought fixing the basics was enough — think again. In the previous post From Prototype to...

Learn More 5 1Jun 27

The Double-Edged Sword of IEnumerable and yield return in C#

IEnumerable and yield return are powerful features in C# that enable developers to create lazy...

Learn More 5 0Oct 21 '24

Refactoring 017 - Convert Attributes to Sets

Favor immutability by converting attributes to sets TL;DR: Using sets for attributes simplifies...

Learn More 4 0Oct 20 '24

Detect Unused Classes in Laravel

Introduction Over time, as a Laravel project evolves - whether through updates,...

Learn More 4 0Feb 22

Refactoring 019 - Reify Email Addresses

Sayit once and only once TL;DR: Avoid duplicate email validations. Problems...

Learn More 4 2Dec 5 '24

Refactoring if-else code blocks to Strategy pattern with Symfony service locator

Photo by Walls.io on Unsplash Introduction Often in your code you will implement logic...

Learn More 4 4Apr 3

From Helpful to Harmful: How AI Recommendations Destroyed My OS

Why you should always be in control TL;DR: Always stay in control when using AI tools. Blind trust...

Learn More 4 0Apr 21

Taming the Mega-Component: My Vue.js Refactoring Adventure

We’ve all been there: opening a codebase only to find a massive component, packed with hundreds of...

Learn More 3 0Sep 7 '24

Transforming DevEx Through Bulk Refactoring (and How AI Can Assist)

Developer Experience today is not just a trend but a real way of boosting efficiency in tech...

Learn More 3 0Sep 30 '24

Advanced JS — Refactoring Toward Objects

Javascript has several object creation syntaxes, but object configurations (in a sense, associative...

Learn More 3 0Aug 18 '24

Composing Methods: A Practical Guide to Clean Code

Meta Description: Learn how to refactor your code effectively using composing methods. Discover...

Learn More 3 0Nov 12 '24

The Rewrite Trap: A Programmer's Survival Guide

In the world of software development, there's a constant temptation that lurks in the shadows of...

Learn More 3 0Dec 22 '24

AI-Powered Code Refactoring: A Case Study Using Cursor with GPT-4o and Claude 3.7 Sonnet

Introduction Hey there! Code refactoring is one of those necessary parts of keeping...

Learn More 3 0Mar 4

7 Essential Tips to Avoid Code Smells in Your Projects

As programmers, our goal is to write code that is clear, effective, and manageable. But occasionally,...

Learn More 3 0Jul 11 '24

Eliminating dead code in Go projects

As the software we work on grows, the code tends to undergo various changes and refactorings. During...

Learn More 2 0Jun 19

Safe Refactoring in .NET with Light/Dark Mode and Feature Flags

You’ve been forced to maintain a poorly written legacy app. Spaghetti code, no tests, and every new...

Learn More 2 0May 6

How to mock a hidden dependency

Working with legacy code is difficult. When working with legacy code, you can run into a number of...

Learn More 2 0Jul 3 '24

Code Smell 291 - Mutable Keys

Changing Keys, Losing Values TL;DR: When you use mutable objects as keys in hashed collections,...

Learn More 2 0Feb 23

Python: Refactoring to Patterns

Photo by Patric Ho I’ll keep this brief to save your time — here’s the TL;DR: This...

Learn More 2 0Jan 15

Stop Re-Implementing Code: Use Extract Method in Rust

I recently started learning Rust using the awesome CodeCrafters website. CodeCrafters is one of...

Learn More 2 0Oct 23 '24

Mastering Clean Code: 4 Essential Techniques for Organizing Data in C#

Meta Description: Discover four essential techniques to organize data effectively in C#:...

Learn More 2 0Nov 15 '24

Refactoring: The Art of Polishing Code

Refactoring is the process of improving the internal structure of code without changing its external...

Learn More 2 0Dec 11 '24

📘 Refatorando com Service Objects no Ruby on Rails

Este tutorial documenta dois refactors realizados no projeto ClinicSync, uma aplicação de gestão de...

Learn More 2 0May 1