- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
Admin
Admin
Yes, there is: http://en.wikipedia.org/wiki/Diederik_Samsom
Admin
captcha: minim
Admin
Everybody know who's Piett!!!!! The Executor! The battle of Endor!
http://starwars.wikia.com/wiki/Firmus_Piett
which means the others might be:
http://starwars.wikia.com/wiki/Jan_(stormtrooper) http://starwars.wikia.com/wiki/Bhydee_Kees
Admin
Or http://nl.wikipedia.org/wiki/Diederik_van_Vleuten (sorry, no English wiki page: he's a comedian)! In that case the mistery is solved: he's impersonating the other two!
Well actually.... Piet is one desk next to me, Jan's are flying around all over the place, but no Kees indeed.
Admin
Okay, point taken. But at any rate, a boolean, by definition, has one of two possible values. Any more than that, and it's not a boolean. Of course you can use it as a boolean, but that doesn't really make it a boolean return type any more than indexOf() has a boolean return type.
Admin
I suppose with the 'Unix truth values' you mean the return values for Unix system calls. They have absolutely nothing to do with true or false. They simply define -1 as an error (errno has the actual error number) and anything else (>= 0) as a successful return value.
Admin
But that's not a boolean, that's an error code.
Admin
Im pretty sure that there are unix systems that define anything but 0 as an error code. Seen plenty of them around.
Admin
Replace "needle" with "cock" in this story, and it would be pretty funny. Without that, however... yawn.
Admin
Only one truth? Apparently you haven't caught on to the modern spirit of Tolerance and Relativism.
Admin
I like to name files after my ex-wife. That way I can drag her, drop her, and stuff her in the recycle bin.
Admin
strcmp() has only three return values. Less than zero, zero, and greater than zero. (This applies to many other functions, as well). The actual value returned, other than zero, has no meaning and is arbitrary. The library may calculate the difference that way, return -1/0/1, minimum/0/maximum, whatever it wants. What it returns is meaningless (other than zero).
As for treating the return of strcmp() as a true-false, that's because strcmp() returns 0 if the strings are identical. Having it return 0 means the !strcmp() gets you the answer "are the strings identical?". which is a common question. But if you were sorting the strings and doing the compare, well, you'd use strcmp() as well, because it tells you which one is less than the other.
Admin
Admin
Perhaps he meant Cees instead of Kees (seeing as it is pronounced the same way). In this case it could be Cees Vermeer, Diederick Grobbee, Jan Janzen and Piet Geusens, who all seem to have profiles on BiomedExperts.com
(Google for 'piet diederick jan cees' (without the quotes, on the US version of google), see the 3rd result.
Admin
Back when I was starting out (early 90's), I actually had a project manager that insisted on this - he wanted code named by those responsible for it. Thought it was a brilliant accountability move.
Of course, each of the obvious things you can think of happened, and the code just kept getting better. Inline comments saying, "Bob here, fixing a bug in Joe's object". Joe's object, in turn, was really named for Mary, who quit earlier.
This was the same PM who refused us a bug tracker, because he didn't want to waste precious programmer time on "wasteful make-work overhead".
Pure brilliance. I wonder what that schmuck does for a living now.
Admin
日,不懂你讲什么的?
Admin
And far better than my Al, Bo, Cy, Di, Em, and etc.
Admin
Oooooo ... namespaces!
Admin
who can tell me this website is mainly for what ?
Admin
Admin
Admin
Reason and lust can't be opposite forever.
Admin
You named an inline function after me? I'm honored.
Admin
No wonder we go through so many Gas injection system needles. FFS. There are few manufacturers of these.