News for hackers. Stuff that matters.
Re:A Go “clone” of the great and famous Requests library by coldtea on Friday June 26, 2015 @01:04PM (#9786105)
>Idiomatic code is so called, because people familiar with the language can quickly read it. It makes reading code a much lighter task.

In the case of Java circa 2000-2006 it needlessly messed up code, making it more difficult and slow to read EVEN for people familiar with the language.

Following conventions doesn't make code better to read automatically just because people are already familiar with them -- those conventions should be good in the first place for that to happen.

Node has the callback hell "idiom" many are familiar with. And yet if somebody rewrote the code with async, await, even the people "familiar" with callbacks would be able to read it faster and understand it better.

Re:A Go “clone” of the great and famous Requests library by mattkrea on Friday June 26, 2015 @07:19PM (#9788301)
I don't think this is universal as it hasn't applied where I work. Without understanding how promises work they are no easier and it doesn't help that many things exists that do not use the standard .then() and .catch().
Re:A Go “clone” of the great and famous Requests library by coldtea on Friday June 26, 2015 @08:56PM (#9788607)
Async/await is not the same as bare promises though with then() and catch.