I am also that age, and kebab-case is the best case for filenames. 2021-01-01-some-important-document.pdf gives me the warm fuzzies. On the off chance that some more differentiation is needed, throw in an underscore and a whole new world opens up
I go one step further: 2021-11-11_client_project-name.ext 2021-11-11_client_projectName.ext is also OK. But underscore separates fields, hyphens for space replacement.
I'm “still afraid to use spaces in file names” years old
201–210 of 817 posts
Re: I'm “still afraid to use spaces in file names” years old
#202Personally I wish console shells had chosen another delimiter than space, but here we are.
Re: I'm “still afraid to use spaces in file names” years old
#203PS-Microsoft is horrible about stupidly named folders being created and dumped in there.
Re: I'm “still afraid to use spaces in file names” years old
#204Re: I'm “still afraid to use spaces in file names” years old
#205Define " space ". Is the Hangul filler we talked about yesterday a spacing character? Is the zero-width non-breaking space a spacing character? What about the typographic spacing characters? You should better be very afraid of using spaces in filenames. You should do everything you can to support them but you have to know you'll invariably encounter countless cases where you'll have this or that tool that won't work…
I use Git for documents too, not only code. Why shouldn't I use my native language?
Re: I'm “still afraid to use spaces in file names” years old
#206Still way too many libraries and programs can't handle spaces in filenames. And shells and other programs still have problems with perfectly legal characters in filenames too, like '!' or ':'.
Re: I'm “still afraid to use spaces in file names” years old
#207Re: I'm “still afraid to use spaces in file names” years old
#208I am also that age, and kebab-case is the best case for filenames. 2021-01-01-some-important-document.pdf gives me the warm fuzzies. On the off chance that some more differentiation is needed, throw in an underscore and a whole new world opens up
I've recently shifted sharply toward the dash from the underscore. I find it more readable, and it doesn't require the shift key. However, I do find it useful to use underscores to create groups, e.g. test-001_2021-10-11.log. Including hours, minutes, seconds is still awkward.
Re: I'm “still afraid to use spaces in file names” years old
#209I am also that age, and kebab-case is the best case for filenames. 2021-01-01-some-important-document.pdf gives me the warm fuzzies. On the off chance that some more differentiation is needed, throw in an underscore and a whole new world opens up
> kebab-case I hadn't heard that before and I love it.
Re: I'm “still afraid to use spaces in file names” years old
#210I'm hardly afraid but I just think it's poor ergonomics. Same as the move from xset m 0 0 to xinput --set-prop 'pointer:Logitech USB Receiver' 'libinput Accel Profile Enabled' 0, 1 Everything seems to be going this way in Linux land. Longer names, harder to type names, camelcase names, spaces... I'm looking forward to an OS that treats command line ergonomics as a first class feature and where camelcase & spaces are…
If you had comma-delimiting like in an algol-derived language, you wouldn't need to quote things with spaces.
edit: also, code is read more times than it is written, so optimizing for readability over brevity is generally a good move.