Emacs trivia: the list of buffers used to be exposed to elisp as buffer-alist. It's now C-only because it's a footgun if you mutate it.
miniblog.
Related Posts
I keep getting surprised by .lines() semantics in Rust.
"" -> empty
"foo" -> one line
"foo\n" -> one line
"foo\nbar" -> two lines
I end up using .split('\n') everywhere instead, but .lines() is so convenient it feels like a footgun.
I'm glad that 0567 as syntax for octal literals has fallen out of fashion in newer PLs. It's a footgun that catches out experienced devs.
Making "switch" cool again: https://elliot.land/making-switch-cool-again (Go has a 'fallthrough' keyword for switch statements! Flexibility without the footgun.)