Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^6: What technical benfits perl offers over python + few more questions.

by LanX (Saint)
on Nov 15, 2021 at 21:59 UTC ( [id://11138856]=note: print w/replies, xml ) Need Help??


in reply to Re^5: What technical benfits perl offers over python + few more questions.
in thread What technical benfits perl offers over python + few more questions.

Actually I think I had the right intuition with Python.

They use exceptions for non-fatal communications like in

https://softwareengineering.stackexchange.com/questions/112463/why-do-iterators-in-python-raise-an-exception

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^6: What technical benfits perl offers over python + few more questions.

Replies are listed 'Best First'.
Re^7: What technical benfits perl offers over python + few more questions.
by Marshall (Canon) on Nov 15, 2021 at 22:53 UTC
    I see what you mean. I am just starting with Python. Instead of handling the exception, it appears that:
    for value in some_iterable: print(value)
    is the preferred syntax.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found