A Methodical Approach


#1

Hello guys!!
Haven't talked to you guys in a while.
Now, I don't have any questions on how to do this exercise I just need an explanation of the difference between __init__ and defining your own method i.e def description(self):. I understand that __init__ sort of "boots up" a class' instance object but I'm not sure of the purpose of defining your own method. Because from what I understand and saw in the exercises they both do the same thing. Well maybe not the exact same thing but the outcome was similar. I would appreciate an explanation in the simplest term.
Thank you guys and have a great rest of the day.


#2

@user_beck,
If you do a google-search at a the stacloverflow.com site (which is used by 4.7 Mio users)
== discussions / opinions ==
python init vs method class site:stackoverflow.com
for instance
http://stackoverflow.com/questions/6557420/python-self-convention-init-vs-method