DEV Community

Discussion on: What’s your excuse for bad code?

Collapse
 
thejohnstew profile image
John Stewart

Without thinking about the idea of "good" code.

I generally write things I don't like when under a time crunch or do not have clear direction/understanding on what I'm even trying to do.

I also think it's okay to write bad code if you have to get things done. Sometimes you just need to solve the problem in front of you and that doesn't require "good" code.

The hard part is convincing other developers that right now is not the time to be building the maintainable solution. Sometimes you just gotta ship.