On 7/10/06, Rick Moen <rick at linuxmafia.com> wrote:
> Quoting jim stockford (jim at well.com):
>> > Best I can tell, OOP (e.g. C++) adds a whole
> > new dimension to the term "spaghetti code".
>> I'm not sure why you'd say that. Elegant and readable code is very
> common in, e.g., Python and Ruby. Sometimes even C++. (I say that as a
> somewhat irredeemable procedural programming dinosaur, myself.)
I agree. In fact, one of the pillars of OOP is encapsulation, and that helps a
long way to make the code look less like spaghetti. Of course, as someone
quipped years ago, "I can write Fortran code in any language".