Hello all,

I recently encountered an issue 
<https://github.com/JuliaLang/Tk.jl/issues/62#issuecomment-55392934> with 
path separators on Windows and was wondering why backslashes were chosen 
over slashes in Julia Base. Windows usually interprets "/" just as well as 
"\", especially if the paths are quoted. Something like

shell> pushd "C:/users"

works fine, although 

shell> pushd C:/users

does not, which might prove problematic (but then again, paths for cmd.exe 
should be quoted anyways because of the bad escaping of " "). One might 
consider changing the separator to a slash which might reduce compatibility 
issues as well as (hopefully) make most of the special @windows_only cases 
in base/path.jl obsolete. As a bonus, the regexps wouldn't look all that 
crazy anymore :)

So, my question is: Are there problems with that approach? And if I wanted 
to try to implement that, how would I go about it? As far as I can see, 
Julia needs to be recompiled for changes in base to take effect, correct?

Oh, btw, thanks for this great language. It's really nice to see Julia come 
along and get better and better by every release! :)

Reply via email to