Y
Hacker News
new
|
ask
|
show
|
jobs
by
petters
574 days ago
Colored functions can be nice. It makes the type system give a hint that a function could take a long time. You can then e.g. avoid holding locks when awaiting.
But there is a big downside, that's true.