Idea about deferred slots

Xavier Oswald xoswald at gmail.com
Wed Oct 14 12:52:10 UTC 2009


On 12:12 Wed 14 Oct     , Pierre-Alexandre Voye wrote:
> There's another mistake with deffered in Lisaac : We haven't virtual and mixin
> prototype in Lisaac, so we haven't interface like in Java. Interfaces are
> essentials in large project (>15 developpers), so put a primitive in the
> compiler could be great, because we could add a switch ine the compiler which
> verify the prototype which inherit from prototype with deffered, implements
> correctly the "interface"
> So we could have an interface mechanisme without a new key word...

You can easily semulate interface but putting all slot of a prototype defered.
Or maybe we could provide a slot in the Header saying interface so it put all
slot of the protype marked as defered..

Greetings,
-- 
 ,''`.| ====== Xavier Oswald  ====== | mail: xoswald at debian.org         |
: :' :| Engineer at CALDERA GRAPHICS | http://www.caldera.eu            |
`. `' | GNU/LINUX Debian Developer   | http://debian.org                |
  `-  | Isaac Project Developer      | http://isaacproject.u-strasbg.fr |



More information about the Lisaac-devel mailing list