in reply to [OT] Python vs R

I don’t know either (to speak of, any hacker can hack any language with a little time and a lot of docs and I’ve toyed with Python). Many of the big data tools are Python based. R strikes me as more of an academic tool but someone might need to correct me there. If you like Perl, please consider checking the toolbase for the given tasks you get. If there is something missing or something you could fix, go for it. The more libraries any high level language has, the more likely it is to be adopted. And the more one tries to port code, the better one understands the problem space so it’s a win for you too.

Replies are listed 'Best First'.
Re^2: [OT] Python vs R
by Anonymous Monk on May 30, 2017 at 15:12 UTC
    R strikes me as more of an academic tool

    Specifically, for people doing a lot of statistics.

    Python is actually pretty similar to Perl, but without the dollar signs and without the TIMTOWTDI.

      Given that Python is 100% class/object based inherently, I'd say it's far closer to Perl 6 than it is Perl 5, while enforcing specific indentation.

        That might be true. Perl6 deliberately borrowed a number of features from Python. But I don't think either Python or Perl6 is "100% class/object based inherently." I mean, they don't force you to put your code in a formal class definition like Java does. You can say that "every object has a class" in those languages, or equivalently "every value has a type," but that's trivially true of any language. Even a monotyped language like Perl1 where every value is a string.

        The forced indentation thing is another manifestation of Python's "there's one way to do it" attitude.

        > Given that Python is 100% class/object based inherently,

        Really? I remember reading a comparison to Py vs Ruby and it was Ruby where everything was an object.

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!