Skip to main content
deleted 5 characters in body
Source Link

I'm not sure about iOS developers' intentions, but the better question is why would you make a filesystem case insensitive. Historically, making filesystems case-insensitive was a mistake.

ThereHere are some good discussions onof the subject:

https://drewthaler.blogspot.com/2007/12/case-against-insensitivity.html https://news.ycombinator.com/item?id=8876722

To summarizeproblems with case-insensitive filesystems.

  • It's poorly defined (think unicode).
  • Every filesystem does it differently.
  • Case-insensitivity should be handled in the UI layer.
  • Case-insensitivity forces layering violations upon other code.
  • Case-insensitivity is contagious.
  • Case-insensitivity can lead to security bugs.
  • Case-insensitivity adds complexity and provides no actual benefit.

In my opinion this is a good enough argument to make the filesystem case-sensitive.

EDIT

Apparently it is discouraged to provide links with more in-depth discussions so I'm removing the links.

I'm not sure about iOS developers' intentions, but the better question is why would you make a filesystem case insensitive. Historically, making filesystems case-insensitive was a mistake.

There are some good discussions on the subject:

https://drewthaler.blogspot.com/2007/12/case-against-insensitivity.html https://news.ycombinator.com/item?id=8876722

To summarize

  • It's poorly defined (think unicode).
  • Every filesystem does it differently.
  • Case-insensitivity should be handled in the UI layer.
  • Case-insensitivity forces layering violations upon other code.
  • Case-insensitivity is contagious.
  • Case-insensitivity can lead to security bugs.
  • Case-insensitivity adds complexity and provides no actual benefit.

In my opinion this is a good enough argument to make the filesystem case-sensitive.

I'm not sure about iOS developers' intentions, but the better question is why would you make a filesystem case insensitive. Historically, making filesystems case-insensitive was a mistake.

Here are some of the problems with case-insensitive filesystems.

  • It's poorly defined (think unicode).
  • Every filesystem does it differently.
  • Case-insensitivity should be handled in the UI layer.
  • Case-insensitivity forces layering violations upon other code.
  • Case-insensitivity is contagious.
  • Case-insensitivity can lead to security bugs.
  • Case-insensitivity adds complexity and provides no actual benefit.

In my opinion this is a good enough argument to make the filesystem case-sensitive.

EDIT

Apparently it is discouraged to provide links with more in-depth discussions so I'm removing the links.

Notice added Needs citation by nohillside
Source Link

I'm not sure about iOS developers' intentions, but the better question is why would you make a filesystem case insensitive. Historically, making filesystems case-insensitive was a mistake.

There are some good discussions on the subject:

https://drewthaler.blogspot.com/2007/12/case-against-insensitivity.html https://news.ycombinator.com/item?id=8876722

To summarize

  • It's poorly defined (think unicode).
  • Every filesystem does it differently.
  • Case-insensitivity should be handled in the UI layer.
  • Case-insensitivity forces layering violations upon other code.
  • Case-insensitivity is contagious.
  • Case-insensitivity can lead to security bugs.
  • Case-insensitivity adds complexity and provides no actual benefit.

In my opinion this is a good enough argument to make the filesystem case-sensitive.