Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Computers and Programming

by gmax (Abbot)
on Mar 21, 2002 at 10:21 UTC ( #153288=note: print w/replies, xml ) Need Help??

in reply to Computers and Programming

Unfortunately, sometimes, your understanding and the computer's understanding of the same action take different paths.
When I say
my $string = 'I am a "Perl programmer", you are a "piece of rust"'; $string =~ /"(.*)"/; print "$1\n";
I expect the stupid machine to spit out 'Perl Programmer'. Instead, I get 'Perl programmer", you are a "piece of rust'

The machine has converted some understanding into action. But it wasn't my understanding. :(

Therefore, programming is to translate my understanding into the machine's understanding. :)
$string =~ /"([^"]*)"/; # 'Perl programmer'
_ _ _ _ (_|| | |(_|>< _|

Replies are listed 'Best First'.
Re: Re: Computers and Programming
by tmiklas (Hermit) on Mar 22, 2002 at 00:26 UTC
    Well - what to say?

    Maybe you use a language dialect that the interpreter doesn't understand ;-)
    IMHO each part of the (working) code is an instance of specific art - coding styles differ. I think that mine is ugly (becouse it's mine ;->) and the code i can find here is great (in most cases it's much shorter and faster and still does the same thing)...

    But as i said - it's just my humble oppinion ;-)

    Greetz, Tom.
Re: Re: Computers and Programming
by clemburg (Curate) on Mar 21, 2002 at 10:36 UTC

    You have expressed your stated understanding incorrectly. That's all.

    Christian Lemburg
    Brainbench MVP for Perl

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://153288]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2022-01-25 11:12 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (66 votes). Check out past polls.