HackerTrans
TopNewTrendsCommentsPastAskShowJobs

throwy2342

no profile record

comments

throwy2342
·3 năm trước·discuss
Go doesn't have async/sync distinction, no keywords so the metaphor doesn't hold.
throwy2342
·3 năm trước·discuss
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).