For starters, I need to have the definition of
    "class" and "object".  Then I need their rules.

    -T



On 12/14/20 10:33 PM, WFB wrote:
Hi ToddAndMargo,

Thanks for the effort to improve the Raku docs. However, this is a Raku not OO (Object Oriented <https://en.wikipedia.org/wiki/Object-oriented_programming>) related tutorial. As JJ already pointed out, these pages are to show the reader how you get things done in Raku, not what OO or other programming concepts are. There are probably thousands of OO books around and can teach you what a class is and why you need them. See the Wikipedia link I linked above for example. That's not in the scope of this tutorial.

The parts you are missing are already there, but unfortunately not linked. You can find them in the Raku documentation: => <https://docs.raku.org/language/operators#infix_=%3E>, $! <https://docs.raku.org/language/variables#The_!_twigil> and $. <https://docs.raku.org/language/variables#The_._twigil> :$ stands for a named parameter <https://docs.raku.org/type/Signature#Positional_vs._named_arguments> and can be also found in the documentation. ^$ is used for ranges <https://docs.raku.org/type/Range>and is also already there.

So the information you are missing is already there. You could argue that the links are missing and I would agree with you. But again this tutorial is for Raku classes not OO concept, Pairs, named parameters or ranges.

I hope that helped,
Wolfgang

Hi Wolfgang,

Thank you for the links!

JJ may be right about the OO thing, but it makes the
tutorial pretty much useless.  How "class" and "object"
*relate* to Raku needs to be explained.

"The best is the enemy of the good".  It is better to
slum it a bit and make the tutorial useful. JJ will
hate it, but he will live.

-T

Reply via email to