Override versus Overwrite

How well do you know your OO terminology?


Ha, I actually fixed a typo like this a few weeks ago in the JetGroovy plugin… too bad you can’t just submit an updated patch. It felt good to be a contributor, even if it was just to fix an “i before e” mistake :)

Bill Says:

Honest mistake by the developer and QA wouldn’t know the difference.

override is what you do when you replace the method implementat of a child class in an inheritance hierarchy so the child behaves differently than its parent. Overwrite is what you do to important files just before you need them and your backup has failed.

diepfreid Says:

Maybe the author was not a native English speaker. In German we say “überschreiben”, literally translated this would be “overwrite”.

Mike Says:

IntelliJ is developed largely by non-English speakers (dev is carried out in the Czech Republic, I believe). It shows in much of the help documentation. I’ve gotten used to it, and since IntelliJ rocks so hard, I don’t mind in the least.

james Says:

Let me get a clear distiction distinction between the two: Overwite and override. These guys above do not give it! Anyone smarter out there?

shyam Says:

Override is used in context of functionality when we need to replace the one functionality with other e.g. Process A overrides Process B.

Overwrite is used in context of delete the data or files. e.g. ovwewrite the old file with new files