Andrey (azangru) wrote,
Andrey
azangru

There's a strange tendency out there for tech podcasters not to be good programmers themselves.

There are exceptions, of course. The googlers at http203 are fantastic. Kent C. Dodds is probably good. Don't know about the syntax.fm guys.

But Tracy at Modern Web podcast, A.J.O'Neal at JSJabber (there was a recent episode where Dan Shappir was trying to explain to him the purpose of iterators and generators — the features that were introduced into the language at least 5 years ago), or this guy, who wrote this:


(link to commit)

According to the docs, Node's fs.readFile, as well as fs.readFileSync, will return a buffer if the options object does not contain the encoding. If it does, as in the example above, the function will return a string. So he is getting a string, calling it a buffer, and returning a string.toString()
Subscribe

  • (без темы)

    Also, Google's documentation style guide. With the latest trends about the correct language, obvi. This one via HN.

  • (без темы)

    Google's document on how they build Chrome dev tools with web components. And yeah, it includes a special dance for some semblance of type safety,…

  • (без темы)

    On the ideology in the industry: A guest on a podcast: There was a thread on Twitter the other day, with Adam Rackis, and he had made a comment…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments