Kernighan's Law summarized: Debugging is twice as hard as writing code. If you write code as cleverly as possible, you are not smart enough to debug it.

The most clever solution is rarely the best for a team environment.

Code is read far more than written. Choose clarity over cleverness. Your future self will thank you.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/raiderrobert/statuses/114715816936401115 on your instance and quote it. (Note that quoting is not supported in Mastodon.)