it’s 50/50 chance from my experience, which is why i take nothing for granted… and use path.join() in nodejs 
-
-
path.join() is a good start (probably hits ~50% of the bugs I see in the real world). More pernicious stuff is stuff like: people assuming where.exe is the same as which (TLDR where returns multiple entries *if* there is more than one).
1 reply 0 retweets 1 like -
Replying to @wycats @jasonmulligan and
Also the widespread belief that / works on Windows (TLDR nope; verbatim paths starting with \\?\ don't support / and are used a lot to work around max path length limitations)
2 replies 0 retweets 2 likes -
i’d like to think that we do it to ourselves… most of the docs i see have relative paths with ./ and no concept of cwd(), etc., so ¯\_(ツ)_/¯
1 reply 0 retweets 1 like -
Which docs?
1 reply 0 retweets 0 likes -
nodejs, webpack… just what i’ve looked at today; almost everything i read is doing it wrong
1 reply 0 retweets 1 like -
Yep! That's true! But if you push too hard as a Windows user, eventually you'll run into something who switches into rant mode about how Windows is evil and terrible and how they wish they didn't have to support it at all. And people are usually sympathetic :(
1 reply 0 retweets 1 like -
Replying to @wycats @jasonmulligan and
I've started to tread lightly when bringing up basic portability mistakes to avoid that response, but imagine how it feels for a beginner who (like most people) is trying to learn to program on a Windows laptop.
3 replies 0 retweets 1 like -
i end up supporting those devs in my day job as they try to run my work and sometimes deal with edge cases, or their own mistakes…
1 reply 0 retweets 0 likes -
Replying to @jasonmulligan @wycats and
everyone’s playing ‘catch up’ on the knowledge because we’re too lazy to write good docs imo
1 reply 0 retweets 0 likes
The path thing is not about docs, sadly. People are proud to give you the "dirty little secret" that you don't really need to care about path.join(). Which is wrong, but good luck convincing people of that. "\\?\ -- are you kidding me? Windows is bad and you should feel bad"
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.