DCSIMG
FizBuzzing - Doron's .NET Space

FizBuzzing

A huge reaction followed Jeff Atwood's Why Can't Programmers.. Program? post. The post is about how most of the programming jobs applicants can't even solve a simple "FizzBuzz" question which requires you to print all numbers between 1 and 100, while replacing multiples of 3 with "Fizz", multiples of 5 with "Buzz", and multiples of both with "FizzBuzz". Of course, this problem was really not the point of the post, but the readers just couldn't resist writing solutions for it in the comments section. In lots of different ways and different languages (including assembly, SQL and anything else you can think of). It really is quite an amusing read. I especially liked the one in which a guy wrote 100 "print" statements to solve the problem... Now, that's creative if you ask me.

Published Friday, March 02, 2007 2:47 PM by dorony
תגים:

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: