Hacker News new | ask | show | jobs
by ahzhou 1463 days ago
Static typing is machine and human readable documentation that is tightly integrated in the development loop. Like all documentation, it requires devs to spend a bit more time upfront create.

In large constant systems, code is read more times it is written. Documentation is usually worth the pain.

In small, transitory, or experimental systems, documentation may not be worth the additional burden.