You know you've been hacking Perl for too long…
Friday, 1 August 2003 12:45…when you're programming C and call a function that takes no parameters and forget the parentheses.
I had code something like mystream << myObject->GetAttribute; and the compiler complained that it didn't know what to do with this and asked me which overridden << operator it should use… of course, the one taking an tAttribute as its second argument!
Then I saw what was wrong and added the parentheses in GetAttribute(). Oopsie.
no subject
Date: Friday, 1 August 2003 03:49 (UTC)no subject
Date: Friday, 1 August 2003 08:31 (UTC)no subject
Date: Friday, 1 August 2003 08:45 (UTC)#define unless(text) if(!(text))or something like that because he kept being bitten by C's not knowing what "unless" meant.Then when he had that down, he'd get bitten by things such as
foo = 25 if bar();)