Hacker News new | ask | show | jobs
by teddyh 4172 days ago
I have observed that ,any people feel that directories “need” to have a slash appended to them. They are afraid of ever doing, e.g. “cd /foo/bar” and will always do “cd /foo/bar/”. I”m guessing they feel like it would be some sort of type error, like treating a directory like a file or something.

This behavior is especially common with regards to URLs; there are many flamewars about whether URLs “need” a trailing slash or not.