Add daily emails and archive

This commit is contained in:
Oliver Davies 2024-01-03 20:00:00 +00:00
parent 7ec664a810
commit e2b6832598
379 changed files with 11132 additions and 0 deletions

View file

@ -0,0 +1,24 @@
---
title: >
Do you proactively refactor your code?
pubDate: 2023-09-08
permalink: >-
archive/2023/09/08/do-you-proactively-refactor-your-code
tags:
- software-development
- refactoring
---
Do you go back and proactively refactor code you've previously written?
In my experience, once some code is working, it's usually not reviewed again and refactored, and any TODO comments are still there.
If code is refactored, it's usually triggered by adding a new feature or fixing a bug that will be difficult or impossible with the existing code - i.e., make the change easy, then make the easy change.
Very rarely have I seen code be refactored to make it easier to read or change in the future.
Do you proactively refactor code or wait until something forces it to happen?
Do you not refactor code at all once it's been written?
Reply to this email and let me know which and why.