[fpc-pascal] Re: Selective Class Helper

Xiangrong Fang xrfang at gmail.com
Thu Mar 14 01:58:54 CET 2013


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 <pascaldragon at googlemail.com>

> Am 13.03.2013 17:04 schrieb "leledumbo" <leledumbo_cool at 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130314/79f72a6f/attachment.html>


More information about the fpc-pascal mailing list