Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Curious about Perl's strengths in 2018

by Crosis (Beadle)
on Apr 12, 2018 at 07:48 UTC ( #1212720=note: print w/replies, xml ) Need Help??

in reply to Re: Curious about Perl's strengths in 2018
in thread Curious about Perl's strengths in 2018

lambdas in Python are a particularly weak aspect of the language; I will readily agree with that. But overall Python is pretty multi-paradigm. In addition to the object-oriented features that are more well-known there are several standard modules that assist with functional programming: functools, itertools and operator. There's third-party stuff, too, but I haven't really looked into it.

Perl strict is useful. I seem to remember always using both strict and warnings for anything other than one-liners in a pipeline. But it's much like ES6 strict in that the core language tends to be kind of lax and this needs to be addressed. It's not an issue all languages have.

I don't know what CPAN as a package system per se is like these days. I will say that it annoys me when pip, the de facto Python package manager, overrides packages that are a part of the Ubuntu repository that get regular updates, because pip doesn't do automatic updates, but I don't know if that would be an issue with CPAN now.

Re: code appearance, I never minded that Python requires very regular indentation. It's something everyone should do. But you may be right about code smells being more apparent if this structure is not required.

I appreciate that CPAN remains very active and alive given the relatively diminished size of the Perl user base. That's a good thing. Unfortunately, for the purposes of machine learning, which is something I am very interested and involved in, it's not really there.

  • Comment on Re^2: Curious about Perl's strengths in 2018

Replies are listed 'Best First'.
Re^3: Curious about Perl's strengths in 2018
by LanX (Cardinal) on Apr 12, 2018 at 14:45 UTC
    I'm not that proficient in Python° and have some questions:

    • Is there anything remotely comparable to in Python? PyPi looks rather "simplistic".
    • Have you seen the ease of cpanm ?
    • Is there any community site comparable to perlmonks?

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

    °) which might be our biggest problem answering your questions...

      I don't know how well CPAN and PyPi compare. For the most part, if I need something, I just either install the Ubuntu package (if one exists and is adequately up-to-date) or sudo -H pip3 install <the thing>. That's about as much as I need to interface with the two package systems in this case.

      There are various Python fora out there, including subreddits. I can't comment on how good they are because I never used any of them. I rarely have issues with Python or elements of its third-party ecosystem and when I do there has always been something on Stack Overflow to answer my questions.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2020-10-27 13:42 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (256 votes). Check out past polls.