News for hackers. Stuff that matters.
Re:What Color is Your Function? (2015) by HiJon89 on Thursday October 24, 2024 @07:23AM (#41934431)
Not sure I follow. The function coloring problem is still solved in that scenario. You can apply structured concurrency to any function (there’s no colors), and any function can contain structured concurrency within it (ie, using structured concurrency doesn’t color your function)
Re:What Color is Your Function? (2015) by Rapzid on Thursday October 24, 2024 @09:36AM (#41935347)
You don't follow. Nothing against you in particular, but this is why we've had 10+ years of "color problem" articles and no real solutions. The problem isn't the colors, it's the ergonomics.

The naive solution doesn't work because it turns out the difference between functions that return a value and functions that return a promise matters..

The other approaches destroy ergonomics.