Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
GeZe
on Oct 4, 2012
|
parent
|
context
|
favorite
| on:
Fizzbuzz, Interviews, And Overthinking
60 character solution in LiveScript[0], without using 'if's, also easily extensible!
[1 to 100]map(->[s for s,n of{Fizz:3,Buzz:5}|it%n<1]*''||it)
[0]
http://gkz.github.com/LiveScript/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1 to 100]map(->[s for s,n of{Fizz:3,Buzz:5}|it%n<1]*''||it)
[0]http://gkz.github.com/LiveScript/