Hacker News new | ask | show | jobs
by _ZeD_ 945 days ago
so kotlin functions are colored while java ones are colorless?
1 comments

Java doesn't have an equivalent to Kotlin's 'suspend fun'. The CoroutineScope abstraction ('launch', 'join', 'await', etc) is also absent, at least until Structured Concurrency gets released [1] and Java gains StructuredTaskScope.

1: https://openjdk.org/jeps/462