Better HN
topnewbestaskshowjobs
Log inSign up

beardo

-6 karma · joined Sep 9, 2014 (12y ago) · 5 submissions

[ my public key: https://keybase.io/bear; my proof: https://keybase.io/bear/sigs/QFIjGyvAAQHRESTkXK_q4kTKUx8qPLPGlUA7vmAZNrE ]
Submissions

comment 11y ago · link · parent

nice one

comment 11y ago · link · parent

Three things, mine is PHP 5.6 (Generator), second, I'm only using both 'Fizz' and 'Buzz' once. Maybe you can try to rewrite your code to something similar that concatenates the two strings ;) Last, mine version does not rely on `echo`, it generates a list and uses an foreach to print it.

comment 11y ago · link · parent

https://gist.github.com/zenry/76b42f464a6430dd8524

comment 11y ago · link · parent

I think it's very handy, saves me from writing seeders for my projects

comment 11y ago · link · parent

+1