Subscribe to Stuck in an Infiniteloop        RSS Feed
-----

Assumptions: the antithesis of your sanity

Icon 5 Comments
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.

5 Comments On This Entry

Page 1 of 1

gregwhitworth Icon

21 April 2011 - 05:04 PM
Awesome! I completely agree. Assumptions suck, and I make way too many of them.
0

v0rtex Icon

22 April 2011 - 09:55 AM

Quote

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 :)
0

mojo666 Icon

22 April 2011 - 10:23 AM

Quote

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?


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
2

KYA Icon

22 April 2011 - 07:41 PM

mojo666, on 22 April 2011 - 11:23 AM, said:

Cynicism: You're usually right, and it's awsome when you are wrong. =P



Quotable!
0

Luckless Icon

25 April 2011 - 06:40 AM
dang, I'm stealing that
0
Page 1 of 1

November 2014

S M T W T F S
      1
2345678
9101112131415
1617181920 21 22
23242526272829
30      

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)