PyOhio 2011: Procedures, Objects, Reusability: "httplib", "urllib2", and Their Discontents
Procedures, Objects, Reusability: httplib, urllib2 and their discontents
Presented by Brandon Craig Rhodes
Python supports two major programming paradigms: procedures, and object orientation. This talk will claim that, when it comes to code re-use, these two paradigms are NOT created equal: because object-oriented programming encourages the programmer to write methods that consider everything else inside of "self" to be fair game, it encourages highly coupled code that proves brittle when extended.