Post #2722313
2026-05-20 09:04 UTC
If you replace : with “loop” it becomes pretty clear. The only ‘weird’ thing is using punctuation as a function name.
Replies (2)
-
@lime@feddit.nu 2026-05-20 09:20
it’s not just looping; every instance starts two instances of itself waiting for input. it’s basically doing async def fork(): f = fork() await fork(await f)
-
@Wirlocke@lemmy.blahaj.zone 2026-05-21 00:06
I think it’s meant to be confusing. If you’re unfamiliar with code, you’ll likely glaze over the random string of symbols and assume it’s like broken HTML or JSON or something. Hell even if you are a programmer, I think most programmers assume you can’t use a colon in a variable or function name, much less just a colon.