News for hackers. Stuff that matters.
Re:The most elegant implementation of FizzBuzz by viebel on Wednesday October 26, 2016 @12:54PM (#12798147)
It's amazing Python code and clojure code are almost the same.

(Except infix/prefix)

Re:The most elegant implementation of FizzBuzz by schoen on Wednesday October 26, 2016 @12:56PM (#12798172)
People don't always write Python in a functional style, but I imagine that the itertools module was created out of admiration (or jealousy) for other languages that can do some of these things. :-)
Re:The most elegant implementation of FizzBuzz by viebel on Wednesday October 26, 2016 @01:04PM (#12798250)
The klipse plugin can also features python interactive snippets - using skulpt - http://www.skulpt.org/.

Take a look here: http://blog.klipse.tech/klipse/2016/09/09/klipse-languages.h...

But unfortunately, itertools is not (yet?) supported by skulpt :(