Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And it's ok to use the default seperator for whichever OS you're using.

It's gonna be a different path anyways when you're talking about windows, may as well use the right syntax.



This thinking of backslash as being "the right syntax" for Windows paths is pretty much the reason why the earlier comment was posted.


I don't follow. Add far as I know, backslash is the "right" path separator on Windows - it works everywhere, is the documented canonical path separator, and has the fewest compatibility issues with programs.

And even if it was on equal footing with forward slash on Windows (which it isn't), bringing it up as an alternative just seemed off-topic.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: