logoalt Hacker News

andrewstuarttoday at 9:33 AM3 repliesview on HN

I like async and await.

I understand that some devs don’t want to learn async programming. It’s unintuitive and hard to learn.

On the other hand I feel like saying “go bloody learn async, it’s awesome and massively rewarding”.


Replies

nottorptoday at 9:37 AM

> It’s unintuitive and hard to learn.

Funny, because it was supposed to be more intuitive than handling concurrency manually.

show 5 replies
tcfhgjtoday at 10:03 AM

I can't follow that it's hard to learn and unintuitive

brazzytoday at 10:03 AM

What's awesome or rewarding about it?

It forces programmers to learn completely different ways of doing things, makes the code harder to understand and reason about, purely in order to get better performance.

Which is exactly the wrong thing for language designers to do. Their goal should be to find better ways to get those performance gains.

And the designers of Go and Java did just that.

show 2 replies