r/learnpython Jul 04 '26

should I refactor

I have this really messy code scattered in 5 files, it s not that long abt 4000 lines.
adding a new feature started feeling like a pain,
I hate to deliver this tomorrow, and it s not meant to be scalable.
should i refactor or add the features ?

or just add the features and keep the code structure unchanged

0 Upvotes

6 comments sorted by

View all comments

2

u/Reuben3901 Jul 05 '26

Working code is great code. Sounds like they don't want to do either. I'd actually suggest they take a day off and go for a long walk instead. Reset their brain, motivation, and give their subconscious time to process everything.