what inadequacy twin sets code


what inadequacy between twin pieces code



type
iinterface1 = interface
way proc1;
end;

iinterface2 = interface
way proc2;
end;

tmyclass = class(tinterfacedobject, iinterface1, iinterface2)
protected
way proc1;
way proc2;
end;


and following :



type
iinterface1 = interface
way proc1;
end;

iinterface2 = interface(interface1)
way proc2;
end;

tmyclass = class(tinterfacedobject, iinterface2)
protected
way proc1;
way proc2;
end;


if same, there any advantages, readability issues either.



i speculation second means can't category implements iinterface2 but implementing iinterface1, while initial can.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?