DEV Community

Discussion on: How do you refactor personal projects?

Collapse
 
zakwillis profile image
zakwillis

Yes and no.
I only refractor when;

  • something I did before needs enhancing and it becomes obvious it has become too complicated to extend/understand.
  • I find myself repeating the same code. Some code will move to a utilities library or generic.

Often, it is more that if something wasn't developed fully, it is new code, so little refactoring occurs.

It is definitely the case there are some awful parts to my code, but typically they are fire and forget.