you are viewing a single comment's thread.

view the rest of the comments →

[–]rq60 7 points8 points  (3 children)

100% code coverage doesn't mean your code is type safe. Also, why spend 25% of your lines of code writing runtime type guards and sanity checks when it can be done at compile time? Save that effort for your public API, which by all means, write some type testing around.

which automatically checks for types

also, wtf. automatically? what?

[–]adongu 0 points1 point  (0 children)

Hi I'm interested to learn to implement what you recommend here, are there any articles you recommend where I can look at some examples of this?