Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not just about types. It's about having interfaces I should expand on. And, I'm assuming there are automated tests, otherwise and typing is additive. I should clarify that it's also having defined interfaces using the type system to do it.

By depending on interfaces/abstractions instead of specific cases you can refactor the interface and not break clients. It's very difficult to do this unless you have types.

This is something that Go is really good at and encourages but can be done with python/js on top of their type systems.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: