Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chc
on Jan 5, 2011
|
parent
|
context
|
favorite
| on:
Printing 1 to 1000 without loop or conditionals
You print the first 1000 terms. No loop was mentioned.
That's the cheat. You don't approve. Others might.
Dylan16807
on Jan 9, 2011
[–]
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.
mfukar
on Jan 10, 2011
|
parent
[–]
Recursion, compile-time code generation, templates, dispatching.
Pick whatever you like most.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That's the cheat. You don't approve. Others might.