Re: My OOP keeper

2021-02-16 Thread Ralph Mellor
With apologies to the list to the degree this is just noise. I originally intended to send this email off list. But I realized that what was confusing Todd might perhaps be confusing to all of you. So I've decided to write this on list. *After* this one I plan to go off list and email Todd

Re: My OOP keeper

2021-02-15 Thread ToddAndMargo via perl6-users
On 2/14/21 6:02 AM, Marcel Timmerman wrote: Hi Todd, I would like to spend one line or two on your OOP keeper. One important aspect of object oriented programming is dat you encapsulate your knowledge into an object. That is, structures and other variables should be kept invisible to the

Re: My OOP keeper

2021-02-15 Thread ToddAndMargo via perl6-users
On 2/15/21 6:00 PM, Ralph Mellor wrote: Hope spring eternal. Indeed. First, let's get prototype-based OOP off the agenda. Both you and Joseph appear to have focused on that one small part of what I wrote. I think that focus isn't helpful. So I'm not going to discuss prototype-based OOP

Re: My OOP keeper

2021-02-15 Thread Ralph Mellor
> Hope spring eternal. Indeed. First, let's get prototype-based OOP off the agenda. Both you and Joseph appear to have focused on that one small part of what I wrote. I think that focus isn't helpful. So I'm not going to discuss prototype-based OOP further. The only other thing I'll do in

Re: My OOP keeper

2021-02-15 Thread ToddAndMargo via perl6-users
On 2/15/21 4:17 PM, Ralph Mellor wrote: On Mon, Feb 15, 2021 at 2:32 AM ToddAndMargo via perl6-users wrote: On 2/14/21 9:10 AM, Ralph Mellor wrote: I elaborate on each of those three points later. AWESOME! I look forward to it. By "later" I meant a few lines later, in the same email. If

Re: My OOP keeper

2021-02-15 Thread Ralph Mellor
On Mon, Feb 15, 2021 at 2:32 AM ToddAndMargo via perl6-users wrote: > On 2/14/21 9:10 AM, Ralph Mellor wrote: > > I elaborate on each of those three points later. > > AWESOME! I look forward to it. By "later" I meant a few lines later, in the same email. If you took that to mean it was time to

Re: My OOP keeper

2021-02-14 Thread ToddAndMargo via perl6-users
On 2/14/21 9:23 AM, Marcel Timmerman wrote: I am working with the language binding of Raku to the Gnome libraries like Gtk AWESOME. Will you be posting the results back here or a link to your project? GTK's structures are a pain in the butt, especially since the redeclare the names of their

Re: My OOP keeper

2021-02-14 Thread ToddAndMargo via perl6-users
On 2/14/21 3:27 PM, Ralph Mellor wrote: Undue reliance on inheritance (the primary mechanism used by classes to organize methods) was recognized in the 1980s to be a major problem when overused. Larry understood this. I think it's important that Rakoons know it too, doubly so if they widely

Re: My OOP keeper

2021-02-14 Thread ToddAndMargo via perl6-users
On 2/14/21 5:19 PM, Joseph Brenner wrote: Darren Duncan wrote: I don't understand the terminology "keeper" in this context. "Keeper" is just his own term for his private notes, like a "cheat sheet" or a summary. Documentation that I "keep" for later reuse

Re: My OOP keeper

2021-02-14 Thread Joseph Brenner
Darren Duncan wrote: > I don't understand the terminology "keeper" in this context. "Keeper" is just his own term for his private notes, like a "cheat sheet" or a summary.

Re: My OOP keeper

2021-02-14 Thread Ralph Mellor
> > Raku's OOP was designed to support proto-type programming > > and method delegation straight out-of-the-box. > > Can you give us a pointer to some code examples on how to use > Raku for prototype-style OOP? I can think of ways to do it, but I > don't know that I see any advantage in it.

Re: My OOP keeper

2021-02-14 Thread Darren Duncan
Thank you to those who replied to my question with private messages. I now understand what is meant by "keeper" here. -- Darren Duncan On 2021-02-14 1:38 p.m., Darren Duncan wrote: On 2021-02-12 8:12 p.m., ToddAndMargo via perl6-users wrote: I have been working on this keeper for several

Re: My OOP keeper

2021-02-14 Thread Darren Duncan
On 2021-02-12 8:12 p.m., ToddAndMargo via perl6-users wrote: I have been working on this keeper for several months an though it was time to share and get feedback. Once you understand OOP (Object Orientated Programming) and Raku's elegant implementation, it becomes an extremely powerful tool. 

Re: My OOP keeper

2021-02-14 Thread Joseph Brenner
Ralph Mellor wrote: > Raku's OOP was designed to support proto-type programming > and method delegation straight out-of-the-box. Can you give us a pointer to some code examples on how to use Raku for prototype-style OOP? I can think of ways to do it, but I don't know that I see any

Re: My OOP keeper

2021-02-14 Thread Marcel Timmerman
Hi Ralph, You are very right! Since I am working with the language binding of Raku to the Gnome libraries like Gtk I have seen that their code is neatly OO while written in C which does not know about classes and the like. Regards, Marcel

Re: My OOP keeper

2021-02-14 Thread Ralph Mellor
This email is a reaction to this paragraph: > Object Oriented Programming (OOP) is an elegant system > of declaring data structures (classes) .. I view that as misleading to: * Yourself (if you think it's true as written, rather than a dubious lie-to-children); * Other readers (who might think

Re: My OOP keeper

2021-02-14 Thread Marcel Timmerman
Hi Todd, I would like to spend one line or two on your OOP keeper. One important aspect of object oriented programming is dat you encapsulate your knowledge into an object. That is, structures and other variables should be kept invisible to the user of your object. That way, you are able to

My OOP keeper

2021-02-12 Thread ToddAndMargo via perl6-users
Hi All, I have been working on this keeper for several months an though it was time to share and get feedback. Once you understand OOP (Object Orientated Programming) and Raku's elegant implementation, it becomes an extremely powerful tool. And the nice part is that Raku made it really easy!