Node.js 13.0
github.com
github.com
Node includes V8 7.8, released Sep 27. https://v8.dev/blog/v8-release-78
Top-level await merged into V8 on Sep 24, but didn't make it in time for the 7.8 release. https://chromium.googlesource.com/v8/v8.git/+/0ceee9ad28c21b...
We're also pushing out a version with 7.9 fairly soonish.
import { serve } from "https://deno.land/std@v0.19.0/http/server.ts";
It would be better to integrate something into Node.js instead of inflating a new economy balloon!If they implement Go-style concurrency that would kick this project up to the next level.
I don't think that would work given the fact that it still runs V8's event loop.
VERY productive. The key thing is you can do a large refactoring without breaking anything.
The biggest challenge I have right now is actually the tooling. Intellij tends to break sometimes.
I'm using lerna for a monorepo with sub-modules and it's buggy with regular npm.
For example 'npm audit' doesn't work.
I might have to migrate to yarn...
For example, the Rust extension in VSCode gives me an inline button next to any function that's annotated as a test, which I can click to run that test. That's really useful and really specific to Rust. Whereas other IDEs (or other IDE extensions) might just do a bare-bones language server hookup to show errors and that's it.
Not an ideal example. The rust-vim plugin supports the same feature (though, naturally via keys instead of mouse).
Pycharm refactors Python flawlessly.
I would love to be exclusively in VSCode because of its configurability & overall snappiness but it's just not there for Python
I've tried the "build an IDE from plugins on top of a lightweight editor" before and I just don't think you can beat the interoperability of IDEA. I can trust the first-party plugins 100% and use them without worry. That wasn't my experience using other editors. That's no shade towards people who use and like VSCode, more power to you! Really! It's just not for me and I feel very at home in any language using IDEA Ultimate.
I just switched jobs and the new job doesn't pay for developers IDE's (yet) like my last job did. I didn't for a second consider using anything but IDEA. In fact I missed the "Individual"/"Organizations" distinction and even considering the "For Organizations" pricing ($499 1st year, $399 2nd year, $299 3rd year+) it still didn't phase me. I really feel like I get that much value out of these tools. That said I was happy to pay FAR less as an individual.
console:
The output console.timeEnd()
and console.timeLog()
will now automatically select a suitable time unit instead of always using milliseconds (Xavier Stouder) #29251
Am I the only one that finds this unacceptable? Instead of a consistent result of a number, let's return string.. That now I have to parse..A well defined function should have a single purpose, and a reliable and repeatable output.
I don't do node.js so perhaps there are other ways of doing that specifically. (Works great in .net core)
The default is really important for something like this. Much more important than consistency.
It's not an API incompatibility.
This is definitely one of the gray areas when deciding whether or not to consider it a breaking change.
Classic HN comment on this topic: https://news.ycombinator.com/item?id=6530180