I've seen JS beautifiers that re-indent minified code, but jsnice is much smarter. It infers useful variable names! https://www.jsnice.org/
miniblog.
Related Posts
I really like pattern matching in Rust, but I find myself using it less and less.
`if let` and `let ... else` require substantially less indentation, and I often use them for Option values.
I don't miss this syntactic sugar in OCaml though. Maybe it's just because OCaml has a 2 space indent, unlike Rust's 4 space indent?
A neat subgenre of quines: invalid programs that print their own source code!
$ python https://reproducing.py/
File "https://t.co/z9z9h8CFOT"" target="_blank" rel="noopener noreferrer">https://t.co/z9z9h8CFOT", line 1
File "https://t.co/z9z9h8CFOT", line 1
^
IndentationError: unexpected indent
TMK Lisp is the only PL where you cannot calculate the correct indent statically. Macro-defining-macros with indent declarations break this.