4 ms·
> I find that I need to write extra unit tests to verify integrity that would be be verified at compile time in a strongly typed language like Java. This is so
by ryandvm 9y ago
> I find that I need to write extra unit tests to verify integrity that would be be verified at compile time in a strongly typed language like Java.
This is so true and I'm surprised I don't see it mentioned more often.
Sure, mocking stuff is way easier in JavaScript, but you end up writing tons of tests to prevent the kind of regressions a smart IDE would be screaming about in a strongly typed language.