Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You print the first 1000 terms. No loop was mentioned.

That's the cheat. You don't approve. Others might.



How do you print multiple terms out of a random number generator without a loop? That's my point. You haven't solved anything, cheat or not.


Recursion, compile-time code generation, templates, dispatching.

Pick whatever you like most.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: