Making code shorter often also makes it more correct. Part of what you're doing when you boil code down is eliminating conflicting assumptions. I've seen this happen often enough that I'm now suspicious of the correctness of any code that seems unnecessarily long.
-
-
Replying to @paulg
Jonathan Berger Retweeted Paul Graham
You've got a good series of thoughts on this topic. First, thank you - they've honestly improved my programming. Second, seems like maybe a mini-essay forming here? https://twitter.com/paulg/status/1107333485985853440 … https://twitter.com/paulg/status/1068483193605681152 …https://twitter.com/paulg/status/1056858408039735297 …
Jonathan Berger added,
1 reply 0 retweets 16 likes
Replying to @jonathanberger
Interesting. I'd forgotten the previous ones...
9:32 AM - 8 May 2019
0 replies
0 retweets
9 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.