- 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
"Shear" diligence -- is that where you keep on using cut-and-paste until the code works? :-)
Admin
My interpretation: It's Charlie Brown's shirt, which means that it takes a blockhead to produce this sort of code.
Admin
Obviously an Aussie Programmer:
"The array seems to need an extra moth before January..."
"Ah, She'll be Apples, don't worry 'bout it"
Admin
Admin
I know the solution to this code snippet!!! He needs to use a switch statement instead of all the if's and have a default to return an error msg if the supplied index is not found or they pass in 0!
Admin
I wonder if it's just an odd coincidence that got 4 spam (phishing) emails today welcoming me to "Joomla"
Admin
...must ... resist ... fawlty towers reference ...
Captcha: veniam. I came, I saw, I poisoned.
Admin
Correct - I didn't bother to read all the previous comments. Well spotted.
Captcha: a word I have to type to prove I'm not a robot. Nobody cares what word it is.
Admin
TRWTF
Admin
What's wrong with this:
Admin
Admin
Someone or something did, or there wouldn't be a trackback to "How to cope with back pain during pregnancy".
Admin
What about Octember and Marchuary?
Admin
Looks like a bunch Space Invaders to me...
captcha: tristique. It sure is, zut alors!
Admin
Well, that's partly true. It's faster during the second half of the year because it's downhill. However, climbing the mountain in the first half of the year will offset any gains you might see. Fortunately, the second half of the year is 2 or 3 days longer than the first (depending on leap year) resulting in a 0.7% average improvement.
Admin
Did someone punch him in the face before he created this monster? Ith muth hafh been painfufh...
Admin
Yes he did it is the Arrow Like Pattern
Admin
crap
Admin
Sure, here you go mate:
Admin
Easy: Just write a routine that connects to Google Translate, passes it the output of this routine, and reads back the result.
Admin
I got bored, and realized I know how to "script" in PHP, so that means one thing: lets show the right way, and the so wrong way of doing this (if you MUST have a function that outputs an array of months). Mine isn't right still, but it was fun trying things the "wrong right" way:
CAPTCHA: validus. So close to being validated
Admin
Try this:
$months = array("Tuffah", "Muharram", "Safar", "Rabi Al Awwal", "Rabi Al Thani", "Jumada Al Awwal", "Jumada Al Thani", "Rajab", "Sha'ban", "Ramadan", "Shawwal", "Dhul Qa'dah", "Dhul Hijjah");
Admin
I rest my case, your honor.
Admin
Admin
Bah, whatever. There's no accounting for taste.
Admin
I don't see anyone saying that this guy was bananas!
Admin
No, "42" is the answer - the array just gets you there sooner.
Admin
Apples is a great month to do this:
http://thedailywtf.com/Articles/Nobody-Does-Business-on-December-31st!.aspx
By the way, why is September so special that its abbreviation has 4 letters?
captcha: decet
Admin
http://thedailywtf.com/Articles/Nobody-Does-Business-on-December-31st!.aspx
Admin
It looks like you're trying to be funny. Would you like help?
Admin
Apples is the shortened version of Applebys. Obviously a shameless marketing ploy, to get us to spend a whole month going to their restaurant.
Admin
Have her substitute yogurt for the mayonaise. Much, much better.
Admin
Looks like he copied the array code from w3schools.
Admin
Looks like a good Developmestuction environment...
Admin
Oh, this is just PHP. Have you ever seen high-quality, mission-critical airbag ECU code? Like this:
or (scattered through the code under many names):
Admin
Am I the only one who sees a retro starship there? With a laser on the left side?
Admin
Indeed this is wrong, php's "elseif" is way more cost effective than "else if". lol
Admin
Captcha: inhibeo - Suppressing emotions in a city near you! Tickets on sale now.
Admin
He needed Hindi too:
$months = array("सेब", "जनवरी", "फ़रवरी", "मार्च", "अप्रेल", "मई", "जून", "जुलई", "अगस्त", "सितंबर", "अक्टूबर", "नवंबर", "दिसंबर");
Admin
I've been wondering: would the abbreviation for the month of Apples be App or Apl?