Coroutines are bastards....
Jan-Paul Bultmann <[email protected]>
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
I mean I love the concept, but it is full of quirks and hiccups and could really need a ton of polish.^^ Resuming the right one is difficult, they are hard to handle, and should not be referenced, because at any moment a coroutine could pop of a child and say goodbye without you noticing. Aaaand when debugging is activated on a Coroutine, it doesn't propagate. :/ So you are debugging an actor? Say goodbye once the actual method call occurs leaving the main _actorProcessQueue_ and say hello, once it returns there. You are debugging a method containing exception handling? Too bad you can't look into the exception throwing code because it happened in another coroutine. <- that one is actually Io kicking in your face, stealing your girlfriend and then laughing mad at you. :D cheerio Jan