HNHacker News
TopNewBestAskShowJobs

agnosias

13 karma · joined February 24, 2015

submissionscomments
agnosias··on CUPID – the back story
Honest question: if you don't do dependency inversion, or if you don't depend on interfaces/abstractions that can't be mocked - how do you unit test your code?

Unit testing is the only reason pretty much all of my code depends on interfaces. Some people seem to consider this a bad thing/over-engineering, but it's how I've seen it done in every place I've worked at.

How do you do it?

agnosias··on Mozilla's Servo Engine Now Capable of Rendering GitHub
Could you describe in more details how you got burned? (I have never done anything big in haskell)