News for hackers. Stuff that matters.
Re:How we took our tests from 100 seconds to 100ms by lmm on Wednesday July 22, 2015 @06:59AM (#9928817)
Since I've switched to a language with a richer type system (Scala) I've found a lot of what I used to do with unit tests can go into the type level instead (see e.g. http://spin.atomicobject.com/2014/12/09/typed-language-tdd-p... - but in Scala the techniques are a lot less verbose to apply).
Re:How we took our tests from 100 seconds to 100ms by michaelmcmillan on Wednesday July 22, 2015 @07:19AM (#9928895)
I am most familiar with Javascript & Python, but I think you're onto something having fiddled with Java for 6 months or so. Some logic obviously can't be replaced with only a rich type system, but a lot can.