#refactoring

[ follow ]
fromSmashing Magazine
3 days ago

Integrating CSS Cascade Layers To An Existing Project - Smashing Magazine

The idea behind this is to share a full, unfiltered look at integrating CSS Cascade Layers into an existing legacy codebase. In practice, it's about refactoring existing CSS to use cascade layers without breaking anything. You can always get a fantastic overview of things in Stephenie Eckles' article, " Getting Started With CSS Cascade Layers ". But let's talk about the experience of integrating cascade layers into real-world code, the good, the bad, and the spaghetti.
Web development
Python
fromRealpython
2 weeks ago

Profiling Performance in Python - Real Python

Use software profiling before optimizing Python code to determine if optimization is necessary and which parts to focus on.
fromInfoQ
1 month ago

Refactoring Stubborn, Legacy Codebases

One pervasive assumption in a stubborn codebase is that there's only one way to talk to the database, limiting potential changes and upgrades.
Ruby on Rails
Software development
fromHackernoon
2 years ago

Good Programmers Always Be Refactoring | HackerNoon

Clean code is essential for maintainability and reduces technical debt.
Engineers should prioritize refactoring alongside feature development.
Refactoring can be integrated into regular code updates subtly.
fromHackernoon
3 years ago

Code Smell 299 - How to Fix Overloaded Test Setups | HackerNoon

When you write tests, you might create a large setup method that initializes various objects. This leads to unnecessary overhead if only one test uses all these objects.
Scala
Scala
fromHackernoon
5 months ago

Generic Alias Types: Why We Need Them | HackerNoon

Generic alias types simplify refactoring in Go by supporting incremental updates to package references.
fromHackernoon
3 years ago

Refactoring 027 - How to Remove Getters | HackerNoon

"The main point of the article is to replace simplistic getters with behavior-rich methods that encapsulate the operations pertinent to the internal state."
Java
[ Load more ]