The downsides of writing a large project in Typescript: https://medium.com/javascript-scene/the-typescript-tax-132ff4cb175b
I don't share all the author's views, but makes interesting comments on what percentage bugs get caught by the typechecker, and type declaration verbosity/placement challenges.
miniblog.
Related Posts
I'm super impressed by how many lint rules can be implemented with just eslint's no-restricted-syntax and selectors. Example:
{
selector: "ExportNamedDeclaration[declaration=null][source=null]",
message: "Add `export` directly to the function instead of a block export."
}
I'm impressed with the amount of automation on the typescript type declaration repository. In my first PR, there's a welcome message, pings to the maintainers, some static analysis, and even an automatic performance test!
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.