2,427 karma · joined Jun 15, 2023 (3y ago) · 1,641 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
> Enabling require(esm) by default for Node.js applications
> Removing support for Windows 32-bit systems
> Stabilizing the node --run command
> Enhancements to the test runner, including glob pattern support for coverage files
When Java or especially C# increment major versions, they've added some key language or compiler features, large new standard library changes, or breaking changes of some kind. Node uses major versions to announce what more or less sound like housekeeping. Unless they're just bad at writing blog posts, which it seems like they are. Under "Other notable changes", they have:
> [83eb4f2855] - (SEMVER-MINOR) deps: V8: cherry-pick cd10ad7cdbe5 (Joyee Cheung) #52535
Which tells me literally nothing about this "notable change", unless I go to the pull request: https://github.com/nodejs/node/pull/52535
> module: implement NODE_COMPILE_CACHE for automatic on-disk code caching #52535
Which still doesn't seem like a major version headline feature.
Consider this "notable change": https://github.com/nodejs/node/pull/55086/files
> doc: add abmusse to collaborators
> + * [abmusse](https://github.com/abmusse) -
> + *Abdirahim Musse* <<abdirahim.musse@ibm.com>>
I'm guessing they're fully relying on semver to generate their changelogs, but they're not providing any convincing reason to upgrade to 23.0.0 other than to remain up to date as an inherent virtue
comment 2y ago · link · parent
Vector c = dotProduct(a, b);
is readable enough and doesn't warrant inlining, I think. There's nothing about `dotProduct` that I would expect to have any side effects, especially if its prototype looks like: Vector dotProduct(Vector const& a, Vector const& b) const;comment 2y ago · link · parent