LinuxDev.net: Better OOP with Python | Linux Today

LinuxDev.net: Better OOP with Python

Written By
Web Webster
Web Webster
Jun 24, 2000

[ Thanks to BeOpen
for this link. ]

“All programmers are familiar with writing a small,
well-structured program, and watching it grow out of control,
feature by feature, until it becomes unrecognizable and
unmanageable. OOP can help stem this flow. No programming
philosophy can make a 5 million line program as easy to understand
as “Hello, World.” Where OOP helps, though, is in dividing a
program into objects that contain a logically connected set of data
and all of the functions that act on that data. Thus, instead of
having to muck through 5 million lines of code, one must only muck
through the 5 thousand line code containing the whoosit that needs
to be modified.”

“Python makes it easy to test drive a number of different
patterns rapidly. Data types are assigned automatically, much of
the overhead involved in writing constructor and destructor
functions is handled automatically, and inheritance is a snap. One
would expect that the result of this relaxation of syntax and
typing rules would result either in unreadable code or in a lack of
power to do sophisticated tricks (such as passing in a function as
an argument to another function). Luckily, this is not the case
with Python. Consequently, Python offers all of the power one would
require to try out different patterns, and lets you do so quickly
enough that you don’t just get bored and settle for an imperfect
solution.”

“…if you find that your programming languages are old,
sequential-type languages like Fortran, C, Basic, or Pascal, give
Python a try. You’ll learn a very useful language, and you will be
introduced into the wider world of OOP.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.