T
Thomas G. Marshall
Chris Uppal coughed up:
Interesting way to put it. This seems entirely congruent to my post. I
still think back on that anti-goto meeting and want to hit something.
A slightly depressing idea has just occurred to me. It may be that
this kind of thinking (which I also see far too often) comes from an
inability to perceive the quality (or lack of it) in code. E.g. if
someone cannot see that one expression is much more readable than
another, then they have no way to gauge "quality" other than by
applying the more-or-less superficial "laws" that they have learned
(presumably by rote) in the past.
I am unable to read French. But -- having been "taught" it at school
(or, more accurately, having been drilled to scrape through the
French exams at
school) -- I can sometimes puzzle out the rough sense of simple
sentences. Given those "talents" there is no way at all that I could
ever tell the difference between good written French (expressive,
articulate, clear, and interesting to read) and bad (dull, obscure,
ambiguous, or banal). I could (rote) learn a few simple tests (how
many words per sentence,
presence/absence of some fixed set of known clichés, etc), but being
effectively blind to it as a language, I could never develop a sense
of the quality that is supposed to be Just Obvious.
I don't know if that /is/ the explanation for the knee-jerk responses
to -- say -- gotos, but I've worked with enough code that was
(apparently) written without any sensitivity to what I would call
quality (fluid, flexible, transparent, and correct), that I suspect
that "quality blindness" isn't all that rare.
Interesting way to put it. This seems entirely congruent to my post. I
still think back on that anti-goto meeting and want to hit something.