News for hackers. Stuff that matters.
Re:Learning Go by porting a medium-sized web back end from P... by _Codemonkeyism on Thursday November 09, 2017 @10:19AM (#15663083)
I do not argue that Kotlin is a nicer and a language with more features that are useful.

What of these would you call "more expressive"? I'd agree with sealed classes, they express a limited set of possible classes. Perhaps tail recursion as I can express problems in way of recursion without stack overflows. I don't think coroutines are more expressive than Futures/get, only a runtime optimization for many concurrent executions.

Re:Learning Go by porting a medium-sized web back end from P... by joshuamorton on Thursday November 09, 2017 @12:37PM (#15664233)
Async/await coroutines (C#, python, ECMAscript 7) are much nicer than futures, at least ime. I think that in terms of expressiveness of async code it goes

callbacks -> futures/promises -> coroutines

Because callbacks are a completely different style of code, your async looks totally different. Futures and promises are better, but still make it difficult to ever break out of the async context, coroutines make the difference between async and normal code nonexistant, and allow clean escape from an async context.