The annoying part is not learning these, it’s remembering them at the right time.
I’ve started keeping a tiny cheatsheet just to avoid rediscovering the same tricks over and over.
I’ve started keeping a tiny cheatsheet just to avoid rediscovering the same tricks over and over.
The hard part is when you've reached the point where all your common use cases are covered and you're left with only uncommon cases. Then it's extra hard to remember you had a trick for dealing with the uncommon case.