Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sushisource
on July 18, 2017
|
parent
|
context
|
favorite
| on:
What is “Open Recursion”?
He meant, imagine if they do.
c3534l
on July 18, 2017
[–]
Why not use an example that actually works?
OJFord
on July 18, 2017
|
parent
[–]
That paragraph confused me too, but then I realised what he meant, felt the same as you, but still couldn't think of anything on the spot that would work other than:
set(value) { count = 0 while count != value { increment() } }
(~~may not be~~ probably isn't valid Dart)
krallja
on July 19, 2017
|
root
|
parent
[–]
That's an infinite recursion, because increment() is going to call back to set()
OJFord
on July 19, 2017
|
root
|
parent
[–]
Heh, true. So, examples are hard. :)
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: