- 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
the men with the long sleeved jacket have been in to see me many times.
and they always leave confused as to why they walk out wearing the jacket!
Admin
Haha, that already exist. I don't remember when I discovered this little gem:
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
Admin
Admin
HA! Meet the new Mediocre Poster! Where is your god now!?
Admin
good luck with the likes :smile: I didn't notice you posted it. It's not exactly easy to get a complete overview over all of the thread :smile:
Admin
Admin
Jeff always keeps his word (wink)
Admin
select case when mod(level,15) = 0 then 'fizzbuzz' when mod(level,3) = 0 then 'fizz' when mod(level,5) = 0 then 'buzz' else to_char(level) end from dual connect by level <= 100
Admin
Slightly shorter version using nvl/decode instead of case:
select nvl(decode(mod(level,3),0,'fizz')||decode(mod(level,5),0,'buzz'),to_char(level)) from dual connect by level <= 100
Admin
good old sed:
Admin
Nice. Needs a little cleanup:
Admin
I was just missing asterisks because I did not put it into "code" block, but after edit it should work now
Admin
or you're the guy who wrote it. ;-) thanks anyway!
Admin
http://www.reddit.com/r/programming/comments/2fcamo/the_daily_wtf_the_fizz_buzz_from_outer_space/
Admin
The arrow still works somehow in that it dumps you somewhere in the region where the deleted post has been (couple of posts earlier).
But then, when you notice that the post has been deleted, you have no possibility whatsoever to go back to the post you have come from directly.
No problem in this thread; but in this one you will probably scream out *B****m!!! in despair.
Admin
Has anyone seen this yet?
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
Admin
Very enterprisey.
Admin
Or perhaps.
I'm not a nice person.
Admin
FLAGGED
Admin
Oh, you were talking about FizzBuzz...
Admin
Because I can, here's RecursiveFizzBuzz, Sans Modulo, in C# (it sounds like the title of a piece of music)
Filed under: Invoking Cartman Rule 1 (For some reason, markdown for hyperlink [blah]() is broken in this post)
Admin
If you market it right, you can get it played at weddings.
Admin
Meh the interviewer wasn't simply good enough to interview the interviewee
Admin
Admin
Badge Request: Front-page Troll
Admin
I like bonus points :smile:
https://www.dropbox.com/sh/1qt1zjdmryy51ak/AAA_n4AA6gvYHMlfjuICOQmIa?dl=0
Admin
Agreed. Get on it @PJH
Admin
Since some people might not want to follow the dropbox link for fear of what they'll find, it's the compiled version (and source) of this C# console app. It generates a FizzBuzz solution in your choice of languages, based on which .NET code providers are installed on your system.
Admin
So now you're competing with @blakeyrat 's Laws?
Admin
I already made that law years ago.
Admin
Proof or GTFO
Admin
Just because I had LinqPad open and want to commit some Ternary Operator Abuse
or a version without the ToList (which is stinky)
Admin
We totally need a complete list of blakeyrat's laws. Perhaps a WordPress blog? :smiling_imp:
Admin
Nah, an md doc on github.
Admin
Holy smokes, this is the best post on TDWTF in a long time! I almost feel guilty for constantly complaining about the made up/heavily edited/flat out stupid stories and this preposterous new comment system. Almost.
Admin
I was just wondering what "cornify" means -- maybe it's my age, or senility, but WTF???
:}
Admin
It's a sign of good breeding.
Admin
Admin
It's the crime against good taste for which Remy will one day pay.
Filed Under: Hypocrisy - I actually like the unicorns and rainbows
Admin
Because I can't be bothered to log in on yet another site, here's my version using my favourite application,
cat
(type
on Windows):Admin
Continuation-passing style with "Cont cc"? Not using the expensive modulo operator? I like that guy, he's thinking outside the box.
Admin
So many FizzBuzzes. I started to implement one in Befunge but just abandoned it after a while (when I realized you can't easily access the third stack member without modifying the program). Now I regret not saving the draft program I had. It was so pretty with its lanes and everything.
Admin
Something doesn't add up here.
Admin
The name was mostly to go with the badge/title. But I do lurk in more threads than I post.
Admin
Haskell:
Admin
The guy was a master bull******. If Richard Faymen had been the interviewer, he would have eaten him up for breakfast.