Pages

Sunday, July 4, 2010

Windows, slash or backslash?

In case you didn't know, Windows API accepts both the slash / and backslash \ as path name delimiters.

When I hard code file names, I always use the slash / to avoid doubling (escaping) the backslash. The latter style looks a bit ugly in my opinion.