Re: "with" Coders are Monsters



"John Herbster" <herb-sci1_AT_sbcglobal.net> wrote in message news:46964ca4$1@xxxxxxxxxxxxxxxxxxxxxxxxx

"Michael Little" <mdlittle-at-internode.on.net> wrote

> Why oh why, must Delphi have a with statement?!

How about a compiler warning that says "Note: You
are using boring code that is not remotely challenging
to even a 1st year student."
I'm a proud abuser of WITH, and quite impressed when
I can nest them to at least 3 levels deep. Even I
can't make sense of what I've written after the event,

I think that that may be the reason why some programmers
love to hate "with" statements so much so that they will
avoid fixing the code with automatic "refactoring".
--JohnH

Isn't that the "fun" of programming though, code that works even though to look at, it doesn't immediately make sense what's going on? Where is the personal satisfaction in writing code that a less experienced person can immediately decode?

Whats that point of gaining knowledge at all if we limit ourselves to expressing only what a less knowledgable person will understand. I'm not suggesting making our code deliberately obtuse, but limiting our use of the available technology purely to avoid confusing subsequent maintainers seems totally bizarre to me.

michael

.