When you find a bug, if you can find a way to check for similar bugs (I often find ag and a regexp sufficient) it's well worthwhile.
Related Posts
"After I linked difftastic, one of my friends immediately used difftastic to find a stealthy bug, five stars!"
https://www.scannedinavian.com/tools-built-on-tree-sitters-concrete-syntax-trees.html
When writing long-lived programs (daemons etc) in Rust, I find myself asking *where* I should put data.
In a GC'd language it's just "I have a string" but Rust forces me to find somewhere to put it.
You do get a performance benefit for this work though.
It's really satisfying to use a profiler for the first time on a project. I always find a big performance win with only a small code change.
It's never the code that I expected to be slow, however!