Hacker News new | ask | show | jobs
by saurik 1256 days ago
Why do you have spaces in the filenames of your project in the first place? They require annoying escapes to work with essentially everywhere, notably including on the web. You have complete control over the filenames in your project... why are actively choosing to use a space character? I can see a better argument for wanting to use an apostrophe in a filename than a space character :(.
1 comments

Because I wanted the title of my blog posts to match the file name, so I didn't have to remember which markdown file was which post.
Which sounds cool and all, except I bet the URL doesn't have a space character in it, right? And so, now you have a weird mismatch between the files on disk and the site structure.
No, the filename was a sort of composite key.

"yymmdd Name of Article.md"

URL became yymmdd. Name of Article let me know where to find the article at a glance.