Re:Vigil: The eternal morally vigilant programming language
by andrewflnr on Tuesday November 10, 2020 @08:57PM
(#25054739)
"What color is your function" also seems to have leaked out into the general lexicon of discussions about async code.
Re:Vigil: The eternal morally vigilant programming language
by hobofan on Wednesday November 11, 2020 @03:01AM
(#25056411)
It'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).
Re:Vigil: The eternal morally vigilant programming language
by layoutIfNeeded on Wednesday November 11, 2020 @05:23AM
(#25057169)
Such as?
Re:Vigil: The eternal morally vigilant programming language
by hobofan on Wednesday November 11, 2020 @10:01AM
(#25058902)
As 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.
[1] http://journal.stuffwithstuff.com/2015/09/08/the-hardest-pro...