4 ms·
Interesting ongoing discussion about async & colored functions: https://github.com/gleam-lang/gleam/discussions/2051 https://github.com/gleam-lang/gleam/discus
by eterps 4y ago
Interesting ongoing discussion about async & colored functions:
https://github.com/gleam-lang/gleam/discussions/2051 https://github.com/gleam-lang/gleam/discussions/2051
- lucasyvas 4y agoI mostly refuse to consider function coloring a problem. Async programming has a different mental model than synchronous programming, so I don't think it's unreasonable to treat them differently. That said, I welcome exploration of more implicit models as well - it's just that the debate is tiresome. The ideal paradigm often depends on what the given language more naturally supports.
- eterps 4y agoI can certainly empathize with your perspective and I find myself in agreement with it too. My frustration with function coloring primarily stems from its implementation in JavaScript/TypeScript. I believe that even with the use of colored functions there is potential for a more enhanced developer experience.