You can trust your test data right?
You can trust the architecture you're building against right?
You can trust the module right in front of yours right?
No! In fact, distrust it until proven trustworthy. Otherwise you'll spend the better part of your day hunting a bug in your code that doesn't exist. And we all know what looking for a black cat in a dark room that doesn't exist feels like.
As the antagonist in Under Siege 2 made perfectly clear: Assumptions are the mother of all fuckups.
Unit test until you're blue in the face and read your debug logs. Then you can kick back and enjoy what's left of your sanity.
You can trust the architecture you're building against right?
You can trust the module right in front of yours right?
No! In fact, distrust it until proven trustworthy. Otherwise you'll spend the better part of your day hunting a bug in your code that doesn't exist. And we all know what looking for a black cat in a dark room that doesn't exist feels like.
As the antagonist in Under Siege 2 made perfectly clear: Assumptions are the mother of all fuckups.
Unit test until you're blue in the face and read your debug logs. Then you can kick back and enjoy what's left of your sanity.
5 Comments On This Entry
Page 1 of 1
gregwhitworth
21 April 2011 - 05:04 PM
Awesome! I completely agree. Assumptions suck, and I make way too many of them.
v0rtex
22 April 2011 - 09:55 AMQuote
we all know what looking for a black cat in a dark room that doesn't exist feels like.
No idea, but still some very sound advice
mojo666
22 April 2011 - 10:23 AMQuote
You can trust your test data right?
You can trust the architecture you're building against right?
You can trust the module right in front of yours right?
You can trust the architecture you're building against right?
You can trust the module right in front of yours right?
I think the problem does not rest solely on assumptions, it is partially your attitude. Had you been more cynical, then you would assume your test data is shit, the architecture is buggy, and everything breaks before your module, then you would be in a much better position.
Cynicism: You're usually right, and it's awsome when you are wrong. =P
Page 1 of 1
← January 2022 →
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 |
Tags
My Blog Links
Recent Entries
Recent Comments
Search My Blog
8 user(s) viewing
8 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)



5 Comments









|