Emacs hook tip: try to just add functions to hooks, e.g. (add-hook 'prog-mode #'eldoc-mode). It's easier to remove functions than lambdas.
Related Posts
Today I learnt that Emacs 28 shipped a context-menu-mode! https://oylenshpeegul.gitlab.io/blog/posts/20230129/
This seems quintessentially Emacs: deeply hackable, but building UI features in an order very different to the mainstream.
Go has an elegant approach to defining example functions, which are shown in docs as `main()` with the output: https://go.dev/blog/examples
@krinkle A surprising number of PL design workarounds are "just add another equals sign" 🙃