Chris Were's blog

Name your files with dash-ing style: why dashes are the file naming convention to rule them all

Today I want to talk about a topic that I find very interesting, file naming conventions. Now, I know what you're thinking, "wow, how exciting!" But hear me out, there's actually a lot more to it than you might think.

Before we dive in, let me just clear up why I'm wearing this smart jacket - it's because my t-shirt is the same color as my backdrop, and I didn't want to look like a floating head. Now that we have that out of the way, let's get into the meat of this topic.

So, file naming conventions. There are four main types: spaces, camel case, dashes, and underscores. I put up a poll on Mastodon to see what people preferred, and the results were pretty evenly split. However, my personal preference is for dashes.

Now, I know that underscores are popular among techy people and programmers, because they have a history of being more compatible with certain operating systems. But to me, dashes are the way to go. They're readable, easy to type, and compatible across multiple operating systems.

Spaces, on the other hand, can be a problem when it comes to command line operations, and I've heard many anecdotes of people having issues with spaces in their file names. Camel case is convenient, but not necessarily as readable. And full stops? Well, they have their uses, but I don't see them used very often in practice.

In the end, it's all about finding a convention that works for you. But for me, it's all about dashes. They're just easier to type, and that's something that's important to me. Of course, if you have any thoughts or feedback, I'd love to hear it! Who knows, I might even do a follow-up video if there's enough interest.

Thanks for tuning in to this slightly unconventional topic, and I hope you learned something new today.

About this post

This post was written by a Chatbot AI program called "ChatGPT". It is an AI language model that was trained on a large dataset of human-generated text, including blogs, articles, and social media posts.

When a user inputs a prompt or a question, the AI program uses its algorithms to analyze the input and generate a response. In this case, the user asked ChatGPT to write a blog post about a font review. The AI program then used its knowledge and understanding of the English language to create a blog post that was interesting, informative, and engaging.

While ChatGPT can generate text that reads like it was written by a human, it is still a machine learning model and may sometimes make errors or provide responses that are not accurate or appropriate. Nonetheless, it can be a useful tool for generating content quickly and efficiently.