- 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
Here's the 2.10 winners:
smileyface gets the Most Epileptic prize for #208147
Zutty'z gets the Best Mr. Magenta Characterization for#208235 (we all know how Magenta loves his toys)
bstorer claims the Best Use of the MFD Extra thanks to #208396 (b0red's#208245 takes runner-up)
The Best Heckler goes to bryan986 for#208528
Now let's see what you can do with this one (UPDATE: actually a blank one!).
Mini-Contest: I'll mail a WTF Sticker and an official award certificate (which may or may not actually be a post-it note that says "congrats!") to the winners. Assuming, of course, you haven't already gotten a sticker, you post with your TDWTF account, and you have access to the email account associated with it. If you won, please contact me with your mailing address if you'd like a WTF sticker.
Admin
Admin
Admin
Admin
Admin
Admin
Ahh, another prime example of lazy coding.
Admin
What the hell is that thing?
Admin
And it said "1 Replies".
Admin
Admin
Tuskan Raider
Admin
Are you serious? So, for the edge case of a single comment (which exists for all of 5 minutes), the code should be increased in complexity?
So, go from this ...
... to this...
...? So, 4x as many SLOC (perhaps more with the complexity of globalization, since some languages have different plurals for 0, 1, 2-4, and more).
Yeah, that makes sense.
Admin
Admin
Admin
Admin
NFA's and DFA's are functionallly equivalent, damnit. I like it though.
Admin
^ [/sarcasm]
Admin
No, you switch to
Use the ternary operator, Luke.
Admin
nice point of view!
Admin
Speak for yourself!
Admin
Admin
Winner.
Admin
0 Reply 1 Reply 2 Replys 3 Replys
FAIL
Admin
Admin
Admin
printf("%i Repl%s", count, count != 1?"ies":"y");
Admin
Dammit, I started to correct it as soon as I posted but got pulled into a meeting. halber is of course correct, but the idea was on the right track. I guess "0 Replies" is a tiny bit of a cop-out but it sure beats the pants off "0 Reply" and "2 Replys"... heh.
Admin
That's Shang Tsung.
Admin
Admin
Hand your nerd badge over. Now.
Admin
Admin
But, uh, 党 means party as in a political party. You probably meant コンパ or パーティー, both of which are a bit livelier in meaning.
Admin
Brillant!
Admin
ASP'd that for ya.
Admin
Admin
Ooh, nice Python reference
Admin
and a Dr Snuggles reference
Admin
MS Word balloons are tha bomb.
Admin
so much win
Admin
Also, kids, remember to do count.abs if there's a chance of negative integers.
Admin
Tequila Lime Shrimp?
Admin
Don't blame me, blame Babbelfish.
Admin
VERY clever - enjoyed it a lot! Would read again - A++++
Admin
Can we have winner comics as featured comments, so one could easily look up the given comic's winners?
Also, it would be nice to see comic author's name on the "Comment comments" page (e.g. http://thedailywtf.com/Comments/211-A-Prospect-is-Coming.aspx?CommentReplies=208776).
Admin
Yatta!!
Admin
Admin
Can we re-write the comment system to accept .doc files?
EDIT: I should also probably remove the red squiggly lines next time.
Admin
I don't get it. What's the joke here? Or are we just supposed to be all, "Ha ha! Vikings!"?
Admin
Winner!
Admin