dHarry has asked for the wisdom of the Perl Monks concerning the following question:
Dear OO-enlighted Monks,
My interest in Perl6 is rapidly growing but sometimes I can’t appreciate/understand a specific language construct. Take for example partial types. The idea seems to stem from Type inference with partial types, Thatte 1988.
I looked around:
In C# it seems to boil down to: allow a single class to be defined in more than one file. See for example What Are Partial Types in C#? and Working with Partial Types. The wiki pages seem to be based on that approach.
In Perl6 it seems something completely different though (correct me if I am wrong).Could some OO-enlighted/Perl6 Monk explain to me:
Cheers
dHarry
Update: Added link to Multiple-type objects in an enhanced C++ persistent programming language.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl6 Partial Typing
by moritz (Cardinal) on Sep 05, 2008 at 09:47 UTC | |
|
Re: Perl6 Partial Typing
by dragonchild (Archbishop) on Sep 06, 2008 at 02:27 UTC |