They could just have been working with SQL or other similar system where booleans can be NULL. This is not a WTF without more context.
lluthor
@lluthor
Best posts made by lluthor
-
RE: Overheard in the next cube
Latest posts made by lluthor
-
RE: CVS
The "I HATE YOU" is part of the CVS protocol. It says "I LOVE YOU" for success.
See page 4 of http://www.wandisco.com/techpubs/cvs-protocol.pdf
-
RE: Const_cast? What's that?
@dhromed said:
But doesn't this function just create a new pointer to the same variable?
Couldn't you just do that by assigning the const pointer to a new var? Or would that create a pointer to a pointer?
I'm not hip to explicit pointer-based programming styles. :)The pointer is already not const. Its the data its pointing at which is const, and you cannot cast away that qualifier without casting explicitly. Getting rid of const or volatile is what const_cast<> is for. Chances are this was done to silence an annoying compiler warning, and simply doing it the C way is not going to do that.
-
Adsense
The WTFery that shows up on the google ads on the TheDailyWTF.com is great, but I think that the one I saw today is worthy of posting:
"How can your COBOL systems utilize XML technology easily?"
http://www.xml2cobol.comNeed I say more?
-
RE: Overheard in the next cube
They could just have been working with SQL or other similar system where booleans can be NULL. This is not a WTF without more context.
-
RE: Foreign Keys just get in the way
@felix said:
And that's a good thing?
I meant that to point out one of the legitimate WTFs in Oracle, rather than its performance.
PG despite all its flaws strives very hard to do things the right way, rather than introducing strange new WTFs like that.
-
RE: Foreign Keys just get in the way
@negative one said:
... Faster and more robust than Oracle. ...
Oh come on!
Oracle has a LOT of problems and many WTFs in their own right, BUT speed is not among them (at least not compared to PG).
For example, on Oracle there is no difference between an empty string and NULL.