Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Honest question about Perl, Python and Ruby

by QM (Parson)
on Feb 10, 2015 at 10:23 UTC ( [id://1116168]=note: print w/replies, xml ) Need Help??


in reply to Honest question about Perl, Python and Ruby

Having done lots of Perl, and recently a good speck of Python...

I think the popularity of Python is due to its rigidness. Since it's easier to write inscrutable Perl programs than Python, and Perl is much more TIMTOWTDI, I can see many new programmers struggling to parse Perl, even well written Perl, while they have little trouble parsing Python, even bad Python. Perl's misplaced reputation for write-only doesn't help. But somehow Python's meaningful whitespace doesn't cause the same problem? (I thought "we" learned our lesson with whitespace in make? Oh wait, was Python entrenched before that lesson was fully realized.)

That isn't to say that they can understand one better than the other, because it's the larger constructs that the story hangs on. It's hard to beat a good abstraction hierarchy, and judging by may samples in the wild, it's hard to create one too.

I recall from my university days, comparing Fortran, Pascal, and C. Pascal was a "teaching" language, so had all the rails up. As such, it was fairly easy for a CS newbie to get somewhere, with a book and a compiler alone. Pascal was popular in industry where engineers with little CS training had to write complicated software. Pascal still had the full rails up. One of our systems actually had a Pascal interpreter written in C, because the C compiler was free, but the "customer" wanted Pascal for the non-literate engineers. (Of course, it had none of the features unique to Pascal, such as sets, and did not have pointers. Even though it was for testing silicon chips, and sets of pin names and numbers would have been useful.)

-QM
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re: Honest question about Perl, Python and Ruby

Replies are listed 'Best First'.
Re^2: Honest question about Perl, Python and Ruby
by doom (Deacon) on Feb 11, 2015 at 20:08 UTC
    Pascal was a remarkably bad language that had tremendous amounts of computer-industry hype going for it for a number of years. Consequently programmers of a certain age (such as myself) are nearly immune to hype-- the latest and greatest uber-cool languages are sometimes useful, but often just a pain in the ass (like, say, Java?).

    If you want to understand why Perl is so loosey-goosey, you need to understand how badly programming in Pascal sucked. The one is a reaction to the other.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found