git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Stupid quoting...

From
Steven Grimm <koreth@midwinter.com>
Date
Jun 14, 2007, 01:06 UTC
Message-ID
<4670948B.7070407@midwinter.com>
In-Reply-To
<Pine.LNX.4.64.0706131316390.4059@racer.site>
Johannes Schindelin wrote:
Show 5 quoted lines
> The recommended way is not using spaces to begin with. I mean, does 
> "David" contain spaces? People seem not to see the problem, and fail to 
> blame Microsoft for all the damage they have done, introducing that 
> stupid, stupid concept of filenames containing spaces, and _enforcing_ it.
>   

To be fair, Microsoft did not invent the concept of filenames with spaces. Even UNIX has, I believe, always allowed them, though you risked running into buggy scripts misbehaving if you used them. And really, filenames with spaces are only a nuisance in a text-based command line scripting environment, and only then because someone early on decided to use space rather than some other metacharacter as the only available delimiter between command arguments in scripts.

For regular users who aren't writing shell scripts, long-form filenames mean a document's name is the same as its title, which is hugely helpful from a user interface point of view: "February Marketing Budget" is much more self-documenting as a filename than "febmkbgt" or whatever they would have had to choose in the old days (and remember, UNIX had a 14-character filename size limit in the early days; long filenames weren't introduced until BSD.)

I view filenames as primarily for human consumption, so they should act the way humans expect names to act. Computers can just use inode numbers or file IDs to refer to files (like, say, SHA1 hashes) -- the pretty names are all for the benefit of us meat-brained entities.

Then again, that means I also think case sensitivity in filenames was a bad design choice. To use your "people's names" analogy, if you ask any random person whether "Billy-bob Thornton" and "Billy-Bob Thornton" are the same name, they'll almost always say yes; most people don't consider capital letters and lower-case letters to be different letters, just different forms of the same letters. And I know how popular *that* opinion is around here...

-Steve
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 4 of 35 in “Stupid quoting...”
  1. David KastrupJun 13, 2007
  2. Alex RiesenJun 13, 2007
  3. Johannes SchindelinJun 13, 2007
  4. Steven GrimmJun 14, 2007
  5. Johannes SchindelinJun 14, 2007
  6. Steven GrimmJun 14, 2007
  7. Johannes SchindelinJun 14, 2007
  8. Junio C HamanoJun 14, 2007
  9. Jakub NarebskiJun 16, 2007
  10. David KastrupJun 18, 2007
  11. Jeff KingJun 18, 2007
  12. Johannes SchindelinJun 19, 2007
  13. David KastrupJun 19, 2007
  14. Johannes SchindelinJun 19, 2007
  15. Olivier GalibertJun 19, 2007
  16. Johannes SchindelinJun 14, 2007
  17. David KastrupJun 14, 2007
  18. Alex RiesenJun 14, 2007
  19. Alex RiesenJun 14, 2007
  20. Johannes SchindelinJun 20, 2007
  21. Junio C HamanoJun 20, 2007
  22. David KastrupJun 20, 2007
  23. Jakub NarebskiJun 20, 2007
  24. David KastrupJun 20, 2007
  25. Jan HudecJun 24, 2007
  26. Robin RosenbergJun 24, 2007
  27. Junio C HamanoJun 24, 2007
  28. David KastrupJun 24, 2007
  29. Junio C HamanoJun 24, 2007
  30. Jeff KingJun 24, 2007
  31. Jan HudecJun 24, 2007
  32. Robin RosenbergJun 24, 2007
  33. David KastrupJun 24, 2007
  34. Robin RosenbergJun 24, 2007
  35. David KastrupJun 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.