KAMIKAZE[UA] wrote:
Lets take Eclipse, Netbeans, delphi or even textedit.
When we open any file and make some changes then just hit close button, to exit from it, what will happen next?
I assume Eclipse, Netbeans, and Delphi will interrupt you and ask if you want to save those files. They do this because that is the way Apple designed it years ago and they all copied Apple.
TextEdit in Lion is different. If you haven't ever saved the new file, then you will be prompted to give the file a name and location. If it is an existing file, the the document will just be closed. In a few years, Eclipse, Netbeans, and Delphi will likely work the same way.
Why xcode does not do the same? Not ask: would you like to save? It just close and save.
Because that is the way it is designed.
This is stupid.
That's your opinion. Most developers would never make changes to a file and then close it without saving. Typically, we make some changes and then test it, repeating the process until it all works. At that point, we will commit the working version into a source control system. The problem is that you can't test it without saving it.
If you don't like it, you are free to use any other development system. Unfortunately, there are very few. If Xcode's behaviour were as bad as all that, there would be a market for competition. There isn't. Ergo, you are going to have to live with it.
becase xcode can just kill it.
What are you talking about?