[Edu-sig] Monkeys! (was turtles)
andre.roberge at gmail.com
Sat Mar 4 04:51:48 CET 2006
On 3/3/06, kirby urner <kirby.urner at gmail.com> wrote:
> Not really -- just cuz I don't want to explain the difference and
> old-style is even simpler syntax. My expectation, maybe wrong, is by
> the time these kids are old enough to use Python "on the job", the
> old-style syntax will automatically create a new style class (as the
> old style will have gone away).
I was thinking (no experience to back this up, unfortunately) that by
starting from day one to use the new style, it would be much easier
to introduce inheritance. That's what I plan to do in rur-ple lessons.
(With a note somewhere pointing out the existence of old style classes.)
> I always think of "classic Coke" versus "the new Coke" (as in Coca
> Cola) when I write about this stuff. Old timer that I must be by now.
> On 3/3/06, Andre Roberge <andre.roberge at gmail.com> wrote:
> > On 3/3/06, kirby urner <kirby.urner at gmail.com> wrote:
> > > So with my 8th graders this week, we were back to writing a class.
> > > Here's the eventual definition:
> > >
> > > class Monkey:
> > >
> > [snip] Very nice example deleted...
> > Kirby: any reason why you use "old style" classes?
> > André
More information about the Edu-sig