News for hackers. Stuff that matters.
Re:Should programming languages support unit testing natively? by mustpax on Saturday November 07, 2009 @08:55PM (#928638)
And ironically enough, it ends up being easier to write test harnesses with dynamic languages because it is easier to mock things up.

With languages like Java, the inherent rigidity requires all sorts of ugly ugly reflection hacks, and factory, impl, interface proliferation to get the flexible testing behavior you get for free with more dynamic languages.

If you need to add new language primitives to make unit testing practical, maybe your language is too cumbersome.

There are no comments on this comment yet.