Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re2: MOPT-01 - assumptions and spaces

by mstone (Deacon)
on Dec 11, 2002 at 01:24 UTC ( #218977=note: print w/ replies, xml ) Need Help??


in reply to Re: MOPT-01 - assumptions and spaces
in thread MOPT-01 - assumptions and spaces

Odd, considering the nature of Perl as a language?

Not really.. Perl is a high-level language, and high-level languages don't spend much time making the underlying theory visible. Pretty much the opposite, in fact.

High-level languages make the things programmers are most likely to do as easy to do as possible. If that means hiding a vast amount of complexity under the rug, so much the better.

In terms of programming theory, the statement:

$x++;

is one of the most complicated things you can do. I'll explain why in future posts, but we have a hell of a lot of territory to cover before we get to a machine sophisticated enough to implement that command.

Nobody wants to do that much work every time they need to increment a counter. We just want to say, "make $x bigger" and let the machine work out all the gory details. And that's what high-level languages are for.


Comment on Re2: MOPT-01 - assumptions and spaces
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2015-07-30 21:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls