[Grace-core] Default methods

James Noble kjx at ecs.vuw.ac.nz
Sun Feb 8 23:48:24 PST 2015


On 9/02/2015, at 13:28 pm, Andrew P. Black <black at cs.pdx.edu> wrote:

> Why would adding something break existing code?   Wouldn’t they just need a new name for the extended interface (which is what they did when they went form iterators to enumerations).

they wanted to extend e.g. the Iterator interface, and there are existing implementations of Iterators
that they wanted to keep working - and crucially allow to work with the new, extended interface.

J


More information about the Grace-core mailing list