Live data from Hacker News

Viewing profile — doekenorg

doekenorg

HN member
Joined
Fri, Oct 08, 2021, 5:06 PM UTC
HN karma
63
Public activity
11 items

About doekenorg

No profile information was provided.

Recent public activity

  1. comment
    Comment #45306823

    Learn how a ClockInterface helps you decouple time and write stable, testable code.

  2. story
  3. 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:/…

  4. 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 …

  5. 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…

  6. 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…

  7. comment
  8. story
  9. story
  10. story
  11. story