11 karma · joined April 19, 2014
For reference, I was handling 30M daily records in about an hour on hardware 15 years ago. This performance is absurd.
Or generate a compile warning instead of a comment. Then it will annoy you constantly, with no risk to production.
Putting time bombs in your code, regardless of a global configuration switch, is just asking for trouble.
Yeah, Null Ref Exception isn't as pretty as a more domain specific one, but the essential thing happens regardless: the program throws as soon as you try to access a member. And if you just pass your results on to another function, that function could be testing its inputs, and throwing your exception there as an explicit ArgumentNull instead of Null Ref.
I prefer less to more code, especially for an error I wont even expect to ever see. If it something I do expect, then sure, make a fancy exception and throw that.
I think the notion that you (eventually) get to broad code coverage in a full test pass with a single pushbutton test, that Fowler talked about, is the best idea.
I think that whether to use mocks is really dependent on your particular environment, and the penalty of not using them. I've had to mock legacy servers that I couldn't touch in testing, and they helped there a lot. Also ones with really slow IO, or bizarre security requirements that make impersonation in test difficult or impossible.
Sounds like a steaming pile of BS to me. MS could have done a far better job supporting both user levels by leaving the win7 gui alone, and adding in the start screen, and allowing this specific option during setup.
Don't believe the arguments of "individual contributor" level employees. They are lied to as much as we are.