News for hackers. Stuff that matters.
Re:“The days of using untyped languages on non-trivial proje... by cxr on Friday July 14, 2023 @01:57PM (#36727553)
> Explicit typing of structure fields and function parameters allows automatic generation of reasonably useful documentation.

Rather than documentation from inline types, you could go the other direction as well, i.e., start with reasonably useful documentation and then have the typechecker read the docs to validate the code for exactly the same properties that it does with inline type annotations.

There are no comments on this comment yet.