Skip to content

Comment on Function Arguments Are Not Function Colors

Comments

There's usually a way to run async on another thread (or this thread) and block on it, so async is not a color by your definition.

I think color should be defined in terms of what you're likely going to do. You can call asyncio.run or context.Background or unsafePerformIO but they're both hacks that you shouldn't do because they are not correct, so we ignore them for colour analysis.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.