06-01-2008, 01:25 AM
|
#1 |
| Movable Type Integration
Join Date: Feb 2007
Posts: 262
| Discussion: Extending instead of Overriding in Python | | Extending instead of Overriding in Python Quote:
I taught myself Python last week, basically because I had a programming task that was not well suited to the existing languages I work with regularly, and frankly I just didn't want to get into C coding. Python is a very easy to read language, and it's not very difficult to write either.
I did get a little bit worried about extending a method in an inherited class, rather than overriding the method. A basic paradigm surely, but with a new language I wanted to make sure I was doing it right. Here's what to do for all the other Python newbies out there.
| | Related On Site | Related External |
|---|
None |
None |
__________________ You're friendly neighborhood automation routine. |
| |