People target POSIX, Linux or MacOS (occasionally BSD or Windows, too). People who know what they are doing know what they are targeting.
-
-
That is not true. I don’t use string concat, and I know it matters. Almost all of node-glob’s bugs are re windows’ many strange path styles.
-
Paths are the #1 reason (by far) that supporting Windows is harder. Justifies lots of effort on abstractions (like node-glob)
-
Windows is 90% of the world. 90% (or more) of future programmers are Windows users. The willingness to throw them overboard sucks.
-
To be clear, I know you work hard on Windows. But people commonly don't bother to support Windows. We're throwing people overboard here.
- 1 more reply
New conversation -
-
-
I think what it means is "abstracted over deeper, implicitly changing slashes in the Node core or whatever".
-
Might lead to new surprises though.
-
ime path.join() is mostly sufficient, and is needed for composition with verbatim paths. Most bugs caused by `${p1}/${p2}`, "wfm!"
-
Honestly, I barely ran into verbatim paths being used like once (?) in my entire life on Windows development.
-
In most cases one anyway uses relative paths in Node.js, in which case either works well.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.