- 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
FTWRT era sgnirts sdrawkcaB
Admin
http://what.thedailywtf.com/badges/168/-badge-edirrevo-tfel-ot-thgir
Admin
I could use a String reverser to read all the comments which will come...
Admin
Backwards Intfrvifw
Admin
xpsa.esrever/moc.snoitcnuf-gnirts.www//:ptth
Admin
Your fancy website can't handle RLO properly: [image]
Admin
FTFY
Admin
Notepad++ also doesn't seem to get along with it - unlike Notepad.
Admin
I love the touch with the variable naming.
Admin
Rejected by QA. Entered the word "detartrated"; the string was not reversed..
[image]Admin
Admin
reproduced with the word radar
Admin
Broken for phrases too:
rats live on no evil star
Admin
https://addons.mozilla.org/en-US/firefox/addon/leet-key/
Admin
You don't translate Welsh; you just shove some random vowels in amongst all the consonants to produce something pronounceable...
Admin
V pna gubebhtuyl erpbzzraq guvf nqqba.
Filed under: Bugger - selected the wrong menu item
Admin
FTFY.
:-D
Admin
To be fair, the programmer's solution was sound and correct. The problem was to reverse a string. Not any string. Least of all any parameter string.
And string reverse it does. Oh yeah, man!
Admin
No - it's unpronounceable to start with - the vowels reverse that...
Are you trolling for badges again? :imp:
Admin
never!
... adding vowels make it more plausibly pronouncible, but if you are doing proper welsh then you can't add so many vowels that the entire thing is pronounceable.... just parts of it.
on and make up a few glyphs that are only used in welse and treat them ad consonants sometimes anf vowels other times.
Admin
.. you'd be missing the point of my joke.
Admin
nah, rather i'm attempting to extend it.
Admin
I'm fairly certain my joke doesn't need any enterprise adding to it..
Admin
enterprise‽
ENTERPRISE‽
how can it be enterprise‽ i didn't use XML at all!
Admin
Admin
WTB1J3IzIHczfCgwbTMu
Admin
I bet Discourse would have taken an MD5 hash of the string and used a rainbow table to find the reversed string.
Admin
The best part is using the variable 'f' for the character 'E' because the variable 'e' was already used.
Admin
I really want to know where the string "F" is supposed to be assigned.
Admin
Admin
Yet it is also supposed to be fixed.
Admin
I hate questions like this at interviews because the correct answer is "every language ever has some built in method of reversing strings. I would look it up if I didn't know it."
You're quizzing them to make sure they can do the exact thing you DON'T want people to do, which is to brute force "solve" every problem like they're the first human being to ever come across it.
Admin
Words cannot properly express the sheer stupidity of that code.
Admin
That's the correct answer to "how would you reverse a string in a realistic scenario", not to "please demonstrate to me your understanding of strings and collections by writing a method to reverse an arbitrary string"
Admin
Right, which is why I object to it.
"Please demonstrate you know what you're doing by doing something you would never do and we would fire you tomorrow if you did" is an inherently idiotic interview question.
Are array functions ok? Are other string functions ok?
Admin
Let's get this joke turned with the wind. <reverse midway!>
Admin
QA tested by Cheryl Purely, Pyrex Clerk.
(It tickles me to note that "irk" and "vex" are both ROT-13 reciprocals and synonyms.)
Admin
Admin
hmm... i see that a lot around here.
http://www.vexrobotics.com/
Admin
Obligatory Rust:
println!("{}", "ABCDE".chars().rev().collect::<String>());
Admin
Oblig. C#+LINQ:
Admin
@ben_lubar
Admin
No repro.
Admin
Ok, first step in the scenario: get drunk.
Admin
FTFY
Admin
You've done it now! You fool!
Admin
Oh great, it's started. How long until we see GolfScript and Brainf*ck?
Admin
I wonder if posting APL source code would kill Discourse.
Admin
It'd certainly confuse me…
Admin