I was once presented this during an interview which wasn't going too well (I decided I didn't want to work there after seeing the working conditions of the developers: 60+ developers crammed in a small room with minuscule desks, distributed in rows where people would bump into the chairs whenever they had to get up and move) and they told me that a lot of the candidates couldn't solve it and would be an elimination test. They told me I could use any language I wanted, so for kicks I did a simple Haskell version of it (nothing complicated, just a fizzbuzz function mapped over the list). I was told on the spot that I failed and they wouldn't continue the interview.
Why the this story, just if you give anyone a choice of any language to solve fizzbuzz or other problem, be sure you are open to see code that looks strange to you.
Why the this story, just if you give anyone a choice of any language to solve fizzbuzz or other problem, be sure you are open to see code that looks strange to you.