Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tytho23168yYou must exclusively use windows. In most programming languages the \ is an escape character, which makes cross-platform paths a pain in the but because for windows you have to put "\\" and everywhere else you put "/". Standards Microsoft, standards!
-
tytho23168y@STRINIX What feels wrong about it? "\" feels wrong to me because I have to escape it. It is the escape character in many programming languages and operating systems. Windows is the outlier here.
This is how I have to write paths in my software to be cross platform:
Windows path:
C:\\foo\\bar\\baz
Everything else path:
/foo/bar/baz
In reality I use standard libraries to join the paths for me, but still, just a pain in the butt because Windows wanted to be a special snowflake -
@STRINIX the way it is here is exactly how I've typed that face since I first started using emoticons. :/
-
@STRINIX plus, on the Google keyboard that came with my Nexus 6p, the / is on the first page of symbols, the \ is on the second one. It's like that on most phones I've used, so / is easier and faster. I type that emoticon all the time
The logo of devRant should be :\ instead of :/
undefined
inner autism