[Baypiggies] Companies moving to Python 3?

Marilyn Davis send2md at gmail.com
Sat Oct 17 00:37:51 CEST 2015


OMG.  I read that only New Style was supported in Python and you had to
inherit from object!

Thank you so much Hasan and Aahz.  I am relieved.

Now I look forward to teaching it one day.

Marilyn


On Fri, Oct 16, 2015 at 2:45 PM, Hasan Diwan <hasan.diwan at gmail.com> wrote:

> Marilyn,
>
> On 16 October 2015 at 14:31, Marilyn Davis <send2md at gmail.com> wrote:
>
>> Hi Shannon,
>>
>> Thanks for the discussion.
>>
>> Availability isn't the issue; it's about finding a smooth order for
>> teaching the concepts.
>>
>> My teaching style is to teach a concept, give exercises; teach a concept,
>> give exercises, ...  until we plow through everything.  I try to structure
>> the order of topics so that we build knowledge of Python in curiosity-order.
>>
>> I like to teach a lab on classes, exercises; then a lab on inheritance.
>> Both are big concepts to new engineers.  I take them one at a time.
>>
>> In 3, I'll have to apologize for the "(object)", which they don't yet
>> understand because they don't know yet about inheritance.
>>
>> I don't see a way to teach "inheritance" before teaching "class".
>>
>> I really really hate to ask students to do something that they don't
>> understand.  And I hate to apologize for what I am teaching, or not quite
>> teaching.
>>
>> Those are my thoughts.  Any advice?
>>
>
> What you could do is show the python class hierarchy and add a
> user-created class in the right place, I suppose? -- H
>
>>
>> Marilyn
>>
>>
>>
>>
>>
>>
>> On Thu, Oct 15, 2015 at 6:00 PM, Shannon -jj Behrens <jjinux at gmail.com>
>> wrote:
>>
>>> > I'm going to say the unpopular thing. Python 3 to Python is Perl 6 to
>>> Perl.
>>>
>>> Perl 6 is *very* different than Perl. The syntax is different, and the
>>> implementation is entirely redone. It also took a really long time to come
>>> out. None of those things are particularly true of Python 3. There are only
>>> a few syntactic differences, it didn't take that long to come out, and it's
>>> not an entirely new implementation.
>>>
>>> > From my point of view, 2 is a teaching language, a joy to teach.
>>> Python 3, not as much.
>>>
>>> I really can't think of any reasons why Python 3 isn't a teaching
>>> language. I've seen several books teaching kids to program that use Python
>>> 3.
>>>
>>> > I don't how I'm going to teach classes (blueprints for objects) when
>>> I have to skip classic classes.
>>>
>>> I don't understand that either. Classes, methods, objects, etc. are all
>>> available in new style classes. Actually, when you're teaching OOP from
>>> scratch new style vs. old style classes just don't matter that much.
>>>
>>> > I thought the killer app is Unicode.  I wonder if this list wasn't in
>>> English, in an English-speaking (mostly) country, if we'd be seeing more
>>> Python 3 in action?
>>>
>>> Python 2 has Unicode support, so you can't call that the killer feature.
>>> The closest things that Python 3 has to a killer feature are "yield from",
>>> asyncio (which was somewhat backported), and the ability to annotate
>>> parameters, etc. so that you can use a nice static type annotation checker.
>>>
>>> > Unicode is real important outside of our culture, isn't it?
>>>
>>> Yes, but it's humorous to remember that some cultures, like Japan,
>>> resent Unicode for fairly esoteric reasons ;)
>>>
>>> _______________________________________________
>>> Baypiggies mailing list
>>> Baypiggies at python.org
>>> To change your subscription options or unsubscribe:
>>> https://mail.python.org/mailman/listinfo/baypiggies
>>>
>>
>>
>> _______________________________________________
>> Baypiggies mailing list
>> Baypiggies at python.org
>> To change your subscription options or unsubscribe:
>> https://mail.python.org/mailman/listinfo/baypiggies
>>
>
>
>
> --
> OpenPGP: https://hasan.d8u.us/gpg.key
> Sent from my mobile device
> Envoyé de mon portable
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> https://mail.python.org/mailman/listinfo/baypiggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20151016/d61218c8/attachment.html>


More information about the Baypiggies mailing list