On 31 Jan 2010, at 15:44, Felipe Monteiro de Carvalho wrote: > Do we really need the message identifier in all methods?
No, only for new ones. When you override methods, implement methods from protocols, or reintroduce methods via a category, you don't need it. Then the compiler knows the selector thanks to the previous declaration and can copy it from there. > I mean, can't > the compiler just guess the name by substituting _ with : ? A compiler that guesses is a bad compiler. If there is one thing that makes code error-prone or hard to read, then it's language features where you have to know how the compiler "guesses". Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal