News for hackers. Stuff that matters.
Re:First look: adding type annotations to JavaScript by brimble on Thursday March 10, 2022 @11:24AM (#30628678)
> I always say that Types are not there for the truly expert programmer.

Machine-verifiable documentation about the intended I/O of functions and shapes of structs and objects is hugely fucking valuable to everyone. Your documentation isn't good enough if it doesn't include that, so it may as well be in a format that a machine can read, validate, and use to help out every single person who ever has to read or touch that code.

There are no comments on this comment yet.