Viewing profile — doekenorg
doekenorg
HN member- Joined
- Fri, Oct 08, 2021, 5:06 PM UTC
- HN karma
- 63
- Public activity
- 11 items
- HN profile
- View on Hacker News ↗
About doekenorg
No profile information was provided.
Recent public activity
-
comment
Comment #45306823
Learn how a ClockInterface helps you decouple time and write stable, testable code.
- story
-
comment
Comment #44509486
You can use the SPL LimitIterator, feed it the generator, and give it the offset and limit. ``` foreach (new LimitIterator($generator, 0, 3) as $value) { echo $value; } ``` https:/…
-
comment
Comment #44506570
I agree, but I had to draw the line somewhere on this article as it was already getting pretty long. And since I'm tackeling concurrency in the next post, it made more sense to me …
-
comment
Comment #44500217
Just to clarify my intent with posts like this: I'm not suggesting that PHP is the ideal tool for every use case. The goal is to share a concept that might be unfamiliar to some de…
-
comment
Comment #44499996
Yes, there is! However, even if the `iterable` it was yielding from a different Generator, the "outer" generator would still be "running", which still makes it asymmetrical. `yield…
- comment
- story
- story
- story
- story