MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/6tdeys/asyncawait_will_make_your_code_simpler/dlkw2ot/?context=3
r/javascript • u/tremendous_turtle • Aug 13 '17
75 comments sorted by
View all comments
81
no need to tell me about it. I recently refactored couple of methods on our API from callback style to async/await and like 1/3 of the code is gone.
-159 u/9thHokageHimawari Aug 13 '17 1/3 of lines, not code. It's same code just shorter. 61 u/[deleted] Aug 13 '17 Not only are you being pedantic, you're also wrong. What's on those missing lines? If it's not code, I don't know what they refactored away... 5 u/cocorebop Aug 13 '17 edited Nov 21 '17 deleted 0.3217 What is ^^^this?
-159
1/3 of lines, not code. It's same code just shorter.
61 u/[deleted] Aug 13 '17 Not only are you being pedantic, you're also wrong. What's on those missing lines? If it's not code, I don't know what they refactored away... 5 u/cocorebop Aug 13 '17 edited Nov 21 '17 deleted 0.3217 What is ^^^this?
61
Not only are you being pedantic, you're also wrong. What's on those missing lines? If it's not code, I don't know what they refactored away...
5 u/cocorebop Aug 13 '17 edited Nov 21 '17 deleted 0.3217 What is ^^^this?
5
deleted 0.3217 What is ^^^this?
81
u/Capaj Aug 13 '17
no need to tell me about it. I recently refactored couple of methods on our API from callback style to async/await and like 1/3 of the code is gone.