Um... that's not a WTF - it's a bug, probably caused by insufficient coffee.
alunharford
@alunharford
Best posts made by alunharford
Latest posts made by alunharford
-
RE: How note to use RSA by Nintendo...,
-
RE: Coded by footballers
That's the best cargo cult programming I've ever seen.
-
RE: Teach an idiot to phish, and he starves.
I'm sure it'll fool 80% of people.
-
RE: Please enter your <i><b>exact</b></i> age
What about somebody born on (for example) 915148800? It's not an exact point in time...
-
RE: Thank you, Javascript
@PSWorx said:
The only way I can imagine a lint could have caught this one is if it generally showed a warning for every parseInt() call ever used - which would make the function quite useless.
Show a warning for every parseInt() call that fails to specify a radix.
-
RE: A tiny "unconventional" code snippet
<somewhat-tongue-in-cheek>
So we have a C# programmer who doesn't know about a method in the BCL. It's fairly commonly used (at least before C# 3).
We have another C# programmer who gets 'confused' about the basics of C#.
You're both WTF machines, but at least there is hope in the first case.
</somewhat-tongue-in-cheek>
-
RE: Thank you, Javascript
This is a well known 'feature' of javascript. It's a WTF, but any lint too would have caught that for you.
-
RE: There has to be a better way...
"Reflection is slow" has to be qualified. It's certinaly not slow compared to all the nastiness that webforms does.
-
RE: WTF?
string sql ="SELECT * FROM Person WHERE Name = " + name + ";";
Enjoy your bug