News for hackers. Stuff that matters.
Re:Throw away your first draft of your code by ipaddr on Friday August 04, 2023 @05:10PM (#37005929)
Smart people can ignore ugly code. It's the people who get easily confused that need to see clean and easy to understand code.
Re:Throw away your first draft of your code by bigfudge on Friday August 04, 2023 @05:33PM (#37006183)
Sadly, I think this is true of me — at least of me. I don't think smart people (by this definition) are that common though, so clean code is a sensible default.
Re:Throw away your first draft of your code by alpaca128 on Friday August 04, 2023 @08:36PM (#37007700)
Humans always make mistakes and are tired now and then, and the smartest people can still appreciate not needing to solve puzzles just to understand or debug their own code.

Of course clean and readable means very different things to different people, but I don't thing I ever regretted cleaning up code, while I can think of a lot of instances where not doing it wasted a lot of time.

Re:Throw away your first draft of your code by nouveaux on Saturday August 05, 2023 @06:38AM (#37010743)
If other people need to read your email/doc/code, then any effort to make it more readable will save them time, regardless of how smart they are.

"If I had more time, I would have written a shorter letter."