Code Refactoring

This cluster centers on discussions about code refactoring, including its value, best practices, examples, when to perform it, and debates on its necessity and frequency in software development.

➡️ Stable 0.6x Programming Languages
4,874
Comments
20
Years Active
5
Top Authors
#8407
Topic ID

Activity Over Time

2007
8
2008
40
2009
63
2010
95
2011
111
2012
171
2013
212
2014
180
2015
220
2016
284
2017
327
2018
264
2019
331
2020
423
2021
325
2022
435
2023
468
2024
414
2025
457
2026
46

Keywords

VSC AI github.com IDE L103 VS arkency.com refactoring refactor code new code rename changes bug ide codebase concrete

Sample Comments

br1 Oct 15, 2012 View on HN

Can you give a concrete example of a refactoring you had to do?

dempseye Jun 14, 2015 View on HN

Is refactoring a bad thing now?

rhizome Dec 27, 2010 View on HN

Refactoring is not just for code. :)

4b11b4 Feb 21, 2025 View on HN

Ask for a refactor...Ask for multiple refactors and their trade-offs

tester756 Nov 30, 2022 View on HN

it feels like the "refactor" was the way to improve

insertnickname Aug 6, 2019 View on HN

You don't believe that refactoring truly matters?

alanmoraes Feb 19, 2025 View on HN

Why don't refactor just the parts the need it instead of rewriting everything?

IshKebab Feb 6, 2025 View on HN

Don't spend 100% of your time refactoring.

stirfish Jul 20, 2021 View on HN

Refactoring new code is not faster

gerardnico Oct 23, 2021 View on HN

Refactoring is always underappreciated.