3 ms·
I'd call your article on dartfmt[1] a classic as well. [1] http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/ http://journal.st
by andreareina 6y ago
I'd call your article on dartfmt[1] a classic as well.
[1] http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/ http://journal.stuffwithstuff.com/2015/09/08/the-hardest-pro...
- andrewflnr 6y ago"What color is your function" also seems to have leaked out into the general lexicon of discussions about async code.
- hobofan 6y agoIt's sadly being flung around as a bad argument against async in general though, even when it doesn't apply (e.g. in languages that can use an async function from a non-async function).
- layoutIfNeeded 6y agoSuch as?
- hobofan 6y agoAs a recent addition, Zig is "colorblind"[0]. In Rust and some other languages you can also just run an async function in a blocking way, which will defeat some of the benefits of async functions but prevents color sprawl. [0]: https://kristoff.it/blog/zig-colorblind-async-await/ https://kristoff.it/blog/zig-colorblind-async-await/