On 29 November 2012 02:42, Camillo Bruni <[email protected]> wrote: >>> I think so too, traits would help limiting the scope of FFI. >>> >>> maybe the tools could require some polish, but not using traits won't help >>> ;) >>> >> every time one using double negation, a small kitten dies. >> >> so, please clarify your statement :) > > the double negation stays: > > not using traits won't help <=> using traits will help > > ... improving the infrastructure
my main problem with traits that number of compiled methods in system is going to be n*m, where n is number of methods in trait and m is number of root-classes where it used. and i am not really happy with that. I prefer having 9 methods in Object than 9*100 methods in many classes. while it is fine from developer's POV (because tools can hide this), you still paying the price. just to make sure guys, you know about this, maybe it will lower your obsession with traits :) -- Best regards, Igor Stasenko.
