Hacker News new | ask | show | jobs
by woah 4201 days ago
I agree. An interface in JS is a unit test.

I think that a lot of "classical" programmers simply don't understand how important modules are to JS development.

This is why you get these posts about "how can you manage 1,000,000 LOC in JS!!?", when they don't understand that you never have 1,000,000 in JS, you have a bunch of small, unit tested modules.

1 comments

Because in the real boys club (aka enterprise) no one writes unit tests unless they are imposed on them.