GGJstudios said:
Why would the user name a folder with an extension? That's what doesn't make sense. In this case, the user dragged the source to a destination that necessitated overwriting (deleting) the source before the move could be completed. It made no sense at all to name the folder with an extension. That is the source of the problem.
Why do you think deleting both the source and the destination is acceptable behavior for a move operation? Why would you prefer data loss over the more logical option? That's what boggles my mind.
This isn't even a matter of opinion. There is only one way to handle this properly: if the user chooses to replace, then move the source to a temporary location, move the destination to the trash, then move the source to the destination. That way neither the source nor the destination is lost. I don't understand why that isn't done.
I also don't understand where people are getting the idea that folders shouldn't have extensions. There is absolutely nothing wrong with folders having extensions.
GGJstudios said:
Just because something is allowed doesn't mean it's a good thing to do. Deleting necessary system files is allowed, but that's not a sensible thing to do, either. As has always been the case, no OS can protect a computer from the greatest source of problems: the user.
A normal user can't and shouldn't be able to delete system files. Only an admin should be able to do so, in which case, they're on their own.
GGJstudios said:
Computers don't do what you intend; they do what you tell them to do.
The user told it to replace the destination with the source, and it deleted both. That is not doing what the user told it to do.
GGJstudios said:
If you type a move command in Terminal when you intended a copy, the computer will do what you told it to do and move, not copy. The user is responsible to learn how to interact with the computer properly, not the reverse.
You're trying to make it seem like I want the computer to second-guess the user, which is exactly what I don't want.
The mv command would not delete both the source and the destination.
johnhurley said:
How many directories have you created with extensions on them exactly?
Using periods in directory names is not exactly rare:
1. Renaming a directory named "example" to "example.old" so I can create a new directory named "example" while keeping the contents of the old one
2. Putting the files for a site in a directory named after the domain name, like "example.com"
3. Directories with version numbers like "Example 2.0"
itickings said:
I don't trust Finder at all to handle any conflicts gracefully.
The fact that you can't trust the Finder to handle such a simple operation is exactly what's wrong with Apple software. I'm tired of running into stupid problems with basic functionality and seeing people defend them.