On Saturday, July 27, 2002, at 08:33 , Wiggins d'Anconia wrote:
> Janek Schleicher wrote:
>> Drieux wrote at Fri, 26 Jul 2002 18:07:51 +0200:
>>> p2: but I will religiously stand by the driving thesis:
>>>
>>>     "would you really want to maintain that code?"
>>>
>>> having come back and 'blanched' at code that was no longer as 'readable'
[..]
>> allthough your point of view is correct, too,
>> especially thinking to "cold perlers".

As a General rule of thumb, try to take
your perler's out of the freezer and let
them thaw for a few hours before cooking.....

You should also cook them completely - this
should destroy most of the bacteriological contaminants
that come with perlers.....

> Possibly just a matter of what you used first??

As was noted in the movie 'the hunt for red october' -
the computer started out as a seismic system, and when
confused 'runs home to mother'. But that is also a part
of why we put the human in the loop - to keep on the
watch for things not quite defined the way they 'have
always been'....

Why if computers could code,
        We'd be out of a Job....

> I started with the form drieux suggested, and only recently

[..]

i totally agree with you completely, actually.

there are many things that I too have started out by
following drieux's advice that I clearly will not do now,
or do some times, or do as the spirit moves me...

I was once a dogmatist about

        for ( my $i=0; $i < $max ; $i++ ) {
                #
                # do a defined c-style for numeric sequencing
                #
        }

XOR
        foreach (@array) {
                #
                # string foo from arrays
                #
        }

but....

Now I tend to be more dogmatic about

        for my $local_var_name_here ( @array ) {

        }

since clearly it is, well, intuitively superior....

> One other point, with people who do not pay close attention to their 
> variable names, or poor spellers, the $1, $2, etc. method may prove more 
> efficient from a devel standpoint as it will likely introduce fewer 
> mistakes of this kind since perl is handling the naming, etc.

[..]

IF ONLY there were some:

        #!/usr/bin/perl -w -Dwhat_I_MEANT_to_type

        use strict_with_cheats_as_needed_to_do_What_I_REALLY_REALLY_MEANT;

But then I guess I would also want

        use Install_From_CPAN_What_I_Need_To_Fix_The_Boo_Boo;

so that my code would be self correcting in all the
right places and all the right ways....

ciao
drieux

---

cf:

http://www.wetware.com/drieux/pbl/Weird/rants/theBeautifulMindProblem.html

which may not be 'the cure'....


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to