Re: classes and objects questions

2020-12-15 Thread ToddAndMargo via perl6-users
On 12/14/20 2:33 PM, ToddAndMargo via perl6-users wrote: Hi All, https://docs.raku.org/language/classtut "A tutorial about creating and using classes in Raku" So far so good. "Raku has a rich built-in syntax for defining and using classes." U. Forgot something

Re: Missing NullPointerException

2020-12-15 Thread Konrad Bucheli via perl6-users
Hi Ralph Thanks a lot for the extensive answer. I still consider it a trap because it does not do what it tells it does. If I have: say "launching drone"; $drone.engine.start; say "engine started"; After I run the above I got both messages, but no propeller spinning. So I checked start()

Re: classes and objects questions

2020-12-15 Thread ToddAndMargo via perl6-users
On 12/15/20 12:34 AM, WFB wrote: 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. When we are talking about describing Classes and Objects in a few words, then I agree. Searching

Re: classes and objects questions

2020-12-15 Thread ToddAndMargo via perl6-users
On 12/15/20 7:00 AM, Parrot Raiser wrote: Raku allows for several different programming paradigms; procedural, functional, (as in languages like LISP), and object-oriented. It is possible to write purely procedural Raku, while ignoring O-O features completely, though it does take some dodging.

Re: classes and objects questions

2020-12-15 Thread Parrot Raiser
Raku allows for several different programming paradigms; procedural, functional, (as in languages like LISP), and object-oriented. It is possible to write purely procedural Raku, while ignoring O-O features completely, though it does take some dodging. Object-oriented.programming first surfaced

Re: classes and objects questions

2020-12-15 Thread WFB
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. > When we are talking about describing Classes and Objects in a few words, then I agree. Searching on the web reveals lots of tutorials for