On Sat, 8 Jan 2022 11:44:17 +1100
Chris Angelico wrote:
[snip]
> > Thanks for clearing that up. I also notice that class
> > declarations are called "programs" - not to be confused with
> > the "main" program to be executed. Is that a correct
> > interpretation? If a class is declared within a
On Sat, Jan 8, 2022 at 11:12 AM Duke Normandin wrote:
>
> On Sat, 8 Jan 2022 10:58:53 +1100
> Chris Angelico wrote:
>
> [snip]
>
> > > "animal my_dog = animal(); ?? It seems to me that this should be
> > > the cloning statement to create a particular object of the
> > > animal class?
> >
> >
On Sat, Jan 8, 2022 at 10:46 AM Duke Normandin wrote:
>
> I've /never/ been fond of OOP, but if I'm to continue with Pike, I
> figure I should at least try to understand Pike's very of OOP.
>
> From: https://pike.lysator.liu.se/docs/tut/oop/creation_and_usage.md
>
> [quote]
> Creating and Using
I've /never/ been fond of OOP, but if I'm to continue with Pike, I
figure I should at least try to understand Pike's very of OOP.
From: https://pike.lysator.liu.se/docs/tut/oop/creation_and_usage.md
[quote]
Creating and Using Objects
Assuming that we have the class animal, we can define some