DEV Community

Discussion on: How does flimsy code affect your mental health?

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

I think it is extremely beneficial. It presents you with a challenge to make it better, re-think it, and improve it. Clean code is boring - it takes little mental effort to deal with and removes anything interesting from doing programming. Dealing with and understanding challenging code, or improving 'flimsy' code is one of the best parts of the job.

For mental health, it couldn't be better... it keeps you on your toes and prevents stagnation and laziness.

Collapse
 
xtofl profile image
xtofl

That is an interesting attitude! Are you serious?

I do feel some satisfaction after reducing some module's complexity, but honestly, I often just don't see what some authors were trying to achieve, and feel like they have thrown away their and my time (and the customer's money). That's what gives me headaches: the waste.

So you're the one we need to come see in time of distress ;).