HP3000-L Archives

June 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bruce Toback <[log in to unmask]>
Reply To:
Bruce Toback <[log in to unmask]>
Date:
Wed, 7 Jun 2000 16:02:09 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Wirt Atmar writes:

>Ted writes:
>
>> Of course, a Perl programmer would probably eliminate all whitespace at the
>>  end, and would likely have the string in $_ already and so would do:
>>
>>  ($last_four) = (/(.{0,3}\S)\s*$/);
>
>Lordy, there are several easy ways to tell an "ugly" language. The code above
>is one of them :-)

On the other hand, the expression above is a clear testament to advances
in data communications and signal processing technology in the last
decade. Perl was originally developed in order to take advantage of the
otherwise useless output of early PSK modems  when operated over typical
1970s telephone lines. Larry Wall's maxim, "there's more than one way to
do it," has its roots in the fact that these early modems often produced
output that was somewhat stochastic in nature, so it was important to
develop a language that would do more or less what the programmer wanted
even when the program varied unpredictably. Taken together with the fact
that early digital transmission services often charged by the character,
a terse language with a syntax modeled after line noise was a natural fit
for the times.

Today, with error-correcting modems and end-to-end digital connections,
this behavior is no longer necessary. Expressions such as the one in
Ted's example are a legacy of a bygone era of computing, a quaint and
precious reminder of just how far we have come.

-- Bruce


--------------------------------------------------------------------------
Bruce Toback    Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc.            (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142      | But ah, my foes, and oh, my friends -
Phoenix AZ 85028                   | It gives a lovely light.
btoback AT optc.com                |     -- Edna St. Vincent Millay
Mail sent to [log in to unmask] will be inspected for a
fee of US$250. Mailing to said address constitutes agreement to
pay, including collection costs.

ATOM RSS1 RSS2