Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gertef
on June 14, 2016
|
parent
|
context
|
favorite
| on:
Learning Elm has gotten me confused about static v...
When my typechecker writes most of my tests for me, I have time to write features.
Touche
on June 14, 2016
[–]
If so, I'd say you were writing the wrong kinds of tests before. I work in JavaScript and almost never write type verification tests.
zeckalpha
on June 14, 2016
|
parent
[–]
Types in JavaScript aren't very expressive. When you encode your business logic in the type system, even business logic can be "tested" via the type checker.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: