[Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook
ALAN GAULD
alan.gauld at btinternet.com
Sun Aug 17 17:42:40 CEST 2014
Forwarding to the list, please use ReplyAll to include the list.
Alan Gauld
Author of the Learn To Program website
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
>________________________________
> From: diliup gabadamudalige <diliupg at gmail.com>
>To: Alan Gauld <alan.gauld at btinternet.com>
>Sent: Sunday, 17 August 2014, 13:06
>Subject: Re: [Tutor] Alert to all Experienced Python Software Object Oriented Programmers-Novice Needs Help In Understanding Textbook
>
>
>
>below is a good article.
>
>
>
>http://www.voidspace.org.uk/python/articles/OOP.shtml
>
>
>
>below is another good one.
>
>
>http://www.jeffknupp.com/blog/2014/06/18/improve-your-python-python-classes-and-object-oriented-programming/?utm_source=Python+Weekly+Newsletter&utm_campaign=5a7c0c161f-Python_Weekly_Issue_145_June_26_2014&utm_medium=email&utm_term=0_9e26887fc5-5a7c0c161f-307214369
>
>
>
>
>On Sun, Aug 17, 2014 at 2:25 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:
>
>On 17/08/14 03:58, Stephen Mik wrote:
>>
>>
>>Introductory Course. The Instructor used the Textbook:"Python
>>>Programming,3rd Edition (for the absolute beginner) by Michael
>>>
Dawson;...
>>>
>>>ran into stiff headwinds when I tried to read Ch.8,"Software Objects
>>>
>>
>>(I'm scheduled to take a JavaScript class shortly and since that
>>>
> is object-oriented I really need to get this OOP down).
>>
>>
Actually modern best practice in JavaScript does not use OOP so much as Functional Programming. And the OOP parts of JavaScript tend to be very different to the traditional style of OOP used in Python. So I wouldn't worry too much, you will have a new way of working to learn in JavaScript even if you master Python OOP, although at least the basic concepts will be familiar.
>>
>>
>>
>>discussion on "Instantiating an Object","Methods","Constructors",
>>>
>>
That's pretty much most of OOP...
>>Have you tried reading another OOP tutorial? Sometimes a different approach can help. You can try my OOP topic in my tutorial(see .sig)
>>
>>
>>
>>"Attributes-on page 226-228,Using Class
>>>Attributes and Static Methods(page 228-230;Creating A Class
>>>Attribute,Accessing a Class Attribute(Pg. 231);Using and Invoking a
>>>Static Method (pages 231-232) is all confusing to me
>>>
>>
Forget about this stuff until you have the basics down. class and static methods are quite advanced OOP topics. They won't make much sense until you understand classes, instances and instance methods.
>>
>>
>>
>>Please,somebody,explain the magic of Software Objects in Python to me
>>>ASAP. Thanks!
>>>
>>
Try the OOP topic in my tutorial and come back if you are still confused about the basics. The more specific the question the better the answers will be so try to explain what it is you don't
>>understand. Include some code samples that you want to have
>>explained for example.
>>
>>Also tell us which version of Python you use because some of
>>the syntax for OOP changed significantly between Python v2
>>and Python v3.
>>
>>--
>>Alan G
>>Author of the Learn to Program web site
>>http://www.alan-g.me.uk/
>>http://www.flickr.com/photos/alangauldphotos
>>
>>_______________________________________________
>>Tutor maillist - Tutor at python.org
>>To unsubscribe or change subscription options:
>>https://mail.python.org/mailman/listinfo/tutor
>>
>
>
>
>--
>
>Diliup Gabadamudalige
>
>http://www.diliupg.com
>http://soft.diliupg.com/
>
>**********************************************************************************************
>This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
>**********************************************************************************************
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140817/2e18f0f8/attachment.html>
More information about the Tutor
mailing list