R
Roedy Green
Is it really necessary to write @Override when you override or is this just "a good thing"?
I asked for this in the days of Java 1.1. The syntax is a little
different that I had in mind, but it still has the same function. So
obviously I am keen on it.
I wanted it because sometimes I would override some method, but spell
it a little incorrectly or get the signature a little off. Then I
created an ambiguity sometimes calling the base method and sometimes
my new one. With @Override, if I don't get the match exact, I get an
error message.
I am big on ways for programs to cross check themselves for
consistency.
--
Roedy Green Canadian Mind Products
http://mindprod.com
The greatest shortcoming of the human race is our inability to understand the exponential function.
~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89)