I vote for Traits. This will make FP more flexible... As a matter of fact, I was surprised to see operator overloading being implemented in pascal, which was a feature I like in C++, although I have never write a program more complex than cout << "Hello World" in that magnificent language. :-)
2013/3/14 Sven Barth <pascaldra...@googlemail.com> > Am 13.03.2013 17:04 schrieb "leledumbo" <leledumbo_c...@yahoo.co.id>: > > > > That would change the class model to prototyping (as in Lua, JavaScript, > > etc.), which is not how it's implemented in Object Pascal... > > I would more call it "Traits" which is at least a feature I'd like to > research. This means that I'll implement it in a branch, will play with it > and ask others to play with it and then we can decide whether we (as in > "devs + community") want that feature in trunk. > > Regards, > Sven > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal