[racket-dev] Abstract classes
On Feb 7, 2012, at 1:17 PM, Robby Findler wrote:
> I don't see too much value in the former if it is just a hint.
> Seems useful to have that information in the documentation, tho.
The implementation of the template hook pattern is a good example of abstract methods. A programmer who wishes to extend a class can either search the existing abstract class for all uses of the method and infer the right signature from that or the abstract method signature can tell the programmer what is expected.