What If I Don't Actually Like My Users?
Posted Apr 5, 2008 1:32 UTC (Sat) by
pr1268 (subscriber, #24648)
In reply to:
What If I Don't Actually Like My Users? by jzbiciak
Parent article:
What If I Don't Actually Like My Users?
Oy. Thankfully I can say that was almost half a lifetime ago for me.
Darn... That happened just yesterday for me (it was with the blasted parameters to a function call).
In that same program, I experienced the below bundle of joy (and what is it with these stupid size_t types?!) Code:
size_t moonWalk(const vector<MyThingy>& stuff)
{
size_t i = h_list.size();
while(i >= 0) {
/* do something with */ stuff[--i];
}
return i;
}
Oh, so subtle! It was a long afternoon of troubleshooting before I figured out why Mr. Fault (first name: Segmentation) kept interrupting my otherwise blissful coding session. (Note to self: Be sure to add brown paper bags to shopping list.)
(
Log in to post comments)