4 ms·
I had a guy in my team use forward slashes in filenames. Terrible idea, caused all sorts of weird issues.
by distant_hat 5y ago
I had a guy in my team use forward slashes in filenames. Terrible idea, caused all sorts of weird issues.
- mrweasel 5y agoBut nice for testing. I spend a few month on Windows while doing a Django project and found a number of bugs no one else discovered because they used Mac or Linux.
- zokier 5y agoDid you mean backslashes? I don't know if any filesystem/OS supports forward slashes in filenames
- kps 5y agoOS X does in the GUI; they're isomorphic to ‘:’ at the UNIX level. (The Mac used ‘:’ as the directory separator.)
- danachow 5y agoHow was this possible? None of the mainstream operating systems allow this.
- distant_hat 5y agovia GUI in OS X.
- danachow 5y agoAh so that’s not really putting a slash in the name on disk - finder is just displaying the colon that way - it substitutes with a colon for historical reasons that have to do with pre OSX MacOS (but you can see if you create a file from a program or the command line with a colon in it, it will display as a slash in finder). It shouldn’t cause any problems on its own on the system - but the colon is troublesome if you have to interact with DOS/Windows lineage machines.