Re: [Nolug] Language philosophy

From: Mark A. Hershberger <mah_at_everybody.org>
Date: Sat, 12 Jul 2003 20:17:38 -0500
Message-ID: <87llv3gr7x.fsf@everybody.org>

Ron Johnson <ron.l.johnson@cox.net> writes:

> Gak!!!! I *hate* "clever" programming.
>
> The next person (who may not be an expert in the language) that
> reads the code and modifies it, can do so with a higher likelihood
> of not adding new bugs.

If you have the capability to program quickly, but feel constrained
to program slowly to accommodate some unknown future reader, you are
only hurting yourself and whoever you are writing the code for.

Further, if you have to hire someone to maintain code, you had better
hire a competent person, or you don't get my sympathy.

By the way, The best book for understanding Perl Idioms (what you call
"clever" programming) is Effective Perl Programming. At under 250
pages, it is relatively thin.

Highly recommended.

>> Perl assumes you are reasonably intelligent.
>
> That is incredibly condescending.
>
> They may assume that humans are fallible, but really, what language
> *really* assumes that you are stupid?

I can be condescending without meaning to. I do get frustrated,
though, by these arguments about Perl enabling un-maintainable code.

If you or your programmer creates unmaintainable code, you have a
problem.

If you or your programmer doesn't understand the language being used,
you've got a problem.

I wouldn't hire a newbie Python programmer to maintain my code, so
why should I feel sympathy for someone who hires an incompetent Perl
programmer?

I know quite a few extremely competent Perl programmers.

I've also heard people say over and over again that they weren't
capable of maintaining their own code. That reflects poorly on the
programmer rather than the language.
___________________
Nolug mailing list
nolug@nolug.org
Received on 07/12/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST