Reply to Re: Mangled Code Mess

Your name:

Reply:


Posted by Tim Streater on 12/15/06 10:40

In article <fbednSbHwaH_IBzYnZ2dnUVZ_rylnZ2d@comcast.com>,
Jerry Stuckle <jstucklex@attglobal.net> wrote:

> Double Echo wrote:

[...]

>
> > but all the goddam schools preach shitmess roll-up coding and OO. It
> > works but it's so fucking
> > messy. You fucking kids think it's cool code, and wow, neato, but then
> > somebody else has to
> > work on it, and it's a fucking nightmare. Clean code, nested, and
> > properly written will allow
> > the code to be debugged better, and probably survive being re-written
> > all over again because you
> > can actually read it. I've gone on to delete code I can't read and just
> > re-wrote it cleanly.
> >
> > -DE- ( using my best Dr. House imitation )
> >
> >
>
> Well, if "all the goddam schools" teach it, there must be something to
> it, don't you think?

It's just the vogue at the moment. Those of us who have developed a
coding style over 40 years to assist maintainers who might be following,
think different. Cool is not important - maintainability is (and
donkeymentation, of course).

Personally I dislike something like:

if (send_packet(params)) {
do something
}

not just because of the braces but also because an "if" is supposed to
perform a test - not have as a side effect as it might be sending a
packet over the wire.

-- tim

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация