News for hackers. Stuff that matters.
Re:There’s No Such Thing as Clean Code by koonsolo on Friday January 28, 2022 @05:54AM (#30113071)
Coding is partly art, just like architecture.

I'm 42 and have been coding since 14, so I feel I can also chime in :).

I don't think anyone can really "code correctly". Sometimes, the code just falls into place, and you end up with something simple and clean.

Other times, you're struggling, and your gut feelings tells you it doesn't feel right. But your feature needs to be finished, so you mark it as "good enough".

Sometimes when you need to apply changes to some old code, it fits in nicely. That means your original code was pretty spot on. Oh what a wonderful feeling.

Other times, your old code was messy to start with, and this new thing means you have to rewrite a big part of it.

Like I said, coding is party art, where you need to balance a lot of opposing forces.

There are no comments on this comment yet.