News for hackers. Stuff that matters.
Re:Show HN: The JavaScript Way, a book for learning modern J... by Cthulhu_ on Friday July 28, 2017 @05:11AM (#14872962)
Re: nodeJS versions, I'd go with something like "Install NodeJS, this book was written with version x.y.z"; I don't think JS will become backwards incompatible in the near future, so as long as the book doesn't contain experimental or unofficial JS features, it should be fine for the next 5-10 years.
Re:Show HN: The JavaScript Way, a book for learning modern J... by rapind on Friday July 28, 2017 @08:33AM (#14873730)
Anecdotal I suppose, but I have an app that was written for node 5 and it doesn't work on 6+. I'm sure I could figure out and upgrade it, but it's not too high on the priorities yet thanks to nvm. Oh, and it's not the code, it's one or more of the npm modules.
Re:Show HN: The JavaScript Way, a book for learning modern J... by pitaj on Saturday July 29, 2017 @07:29PM (#14883531)
Odds are that it is a native module. That's unfortunate, but there is a plan in place to make a consistent native module API: https://github.com/nodejs/abi-stable-node