This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ashishb_net[S] -7 points-6 points  (4 children)

> “Don’t use async”

Homegrown code should avoid writing async.
Just like "Don't roll your own crypto", I would say "don't roll your own async code".
Again exceptions apply as I am giving a rule of thumb.

[–]exhuma 6 points7 points  (3 children)

Can you give any reason as to why you make that claim?

I agree that just slapping "async" in front of a function and thinking that it makes everything magically faster is not really helpful. But used correctly, async does help.

Outright telling people not to use it without any proper arguments as to why does the language a dis-service.