Category Archives: Udacity

Udacity – Programming Fundamentals with Python – Not all functions are created equal: function vs method

A great video highlighting the difference between:

  • (Procedural Programming) calling a function straight from a Python Library. e.g. webbrowser.open().
  • (Object-oriented Programming) calling a method (of a Class object). e.g. instantiate a turtle.Turtle() object called brad, and invoke brad.forward() to apply the method forward() on the object brad.