Better HN
topnewbestaskshowjobs
Log inSign up

throwy2342

6 karma · joined May 22, 2023 (3y ago) · 2 submissions

Submissions

comment 3y ago · link · parent

Go doesn't have async/sync distinction, no keywords so the metaphor doesn't hold.

comment 3y ago · link · parent

The correct interpretation here is that golang chose explicit context passing where java chose implicit.

It's similar to explicit DI vs implicits.

the function coloring metaphor doesn't make sense since the calling convention is the same nor are there extra function keywords (`async` vs non-async).