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.
Proper tail calls were added to the JS standard, but most implementations don't provide it. V8 even built it then removed it!
The concern is worse developer experience. An opt-in syntax has been proposed (cf loop/recur in Clojure) but no consensus.
https://www.mgmarlow.com/words/2021-03-27-proper-tail-calls-js/
Should lint suppressions be first class syntax or comments?
Adding a proper metadata system (e.g. Clojure or Rust) is a big design space but it's clear which expressions are affected.
Comments are much easier to implement but it's easy for users to get them wrong.
Thoughts?
@friend It seems like people find Zig comptime easier to reason about, hence the interest in introducing it to other languages.
That seems worth something. I still prefer Lisp/Clojure style macros over safer Scheme/Rust macros. Lisp macro implementations are closer to typical code.