News for hackers. Stuff that matters.
Re:A non-programmer’s solution to “Fizz Buzz” by andrewmunsell on Friday November 30, 2012 @07:58PM (#4856364)
No if statements and a single, convoluted line: http://jsfiddle.net/P8Dr2/2/
Re:A non-programmer’s solution to “Fizz Buzz” by rickhanlonii on Sunday December 02, 2012 @10:42AM (#4861483)
Good work, but why make it so complicated? http://jsfiddle.net/4NnVw/3/
Re:A non-programmer’s solution to “Fizz Buzz” by tterrace on Saturday December 01, 2012 @11:49AM (#4858175)
Shouldn't the ternary operator be excluded as well if you're doing 'no ifs'?