Periodic reminder: The only way to write good code is to write tons of shitty code first. Feeling shame about bad code stops you from getting to good code.
@hadleywickham yes đź’Ż yes and!
Accept and encourage the shitty code of others —- when or if you are given the gift of critiquing another’s code, remember to be compassionate, and encouraging, not cruel or discouraging (which is *very* easy).
I feel that the highest art is to make it crystal you are critiquing the code while encouraging the coder.
(Harder still: to remain open that your “wise” (hard won) criticism may even be very misguided/out of date)