Is there a proper term for "anonymous definitions"?
This is a style of programming where you avoid repeating the declaration name, so later renaming is trivial.
E.g. Rust's self type, or loop-recur in Clojure.
miniblog.
Related Posts
Renaming code often exposes further needs for refactoring: https://www.fluentcpp.com/2021/04/23/make-bad-code-look-bad/
(I found the example really compelling!)
There's a seedy underbelly of refactoring tools that work most of the time.
For example, grep and sed can perform function renaming. For a small codebase, this works well (you can test or eyeball the result).
Ideally we'd only use fully correct tools, but simplicity often wins.
Emacs has a wonderful mode called dired, which is great for viewing or bulk renaming the contents of directories.
Apparently, there's a C program of the same name, and it's unknown which came first! https://invisible-island.net/ded/