[Tutor] Linear programming - is it bad?
R. Alan Monroe
amonroe at columbus.rr.com
Tue Aug 10 01:50:17 CEST 2004
> So my question: is it bad to write a python program/script in a linear
> way? By linear, I mean: the code is executed line by line, without any
> (programmer defined) classes or functions
In my opinion, linear is perfect for a lot of things. Classes are
overkill if you're not managing a number of similar objects. Functions
are still pretty necessary if you have repeating tasks of any kind,
though.
Alan
More information about the Tutor
mailing list