in reply to Re: Honest question about Perl, Python and Ruby
in thread Honest question about Perl, Python and Ruby
Python, is object based from the ground up
Are you thinking of Ruby? Quoting Matz from An Interview with the Creator of Ruby:
Then I came across Python. It was an interpretive, object-oriented language. But I didn't feel like it was a "scripting" language. In addition, it was a hybrid language of procedural programming and object-oriented programming. I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python.
I like the mandatory documentation that you have to do in Python code.
Are you referring to Docstrings? In any case, I can assure you that documentation is not mandatory in Python. Even if it were, is it good and useful documentation?
BTW, you can easily make documentation of your Perl modules "mandatory" by adding a test that uses Test::Pod::Coverage. As you might expect, this only enforces documentation coverage, not that the documentation is well-written.
The abundance of Python 2 programs will not run under Perl 3.
I wouldn't hold that against Python because the abundance of Perl 5 programs won't run under Perl 3 either. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Honest question about Perl, Python and Ruby
by Anonymous Monk on Feb 07, 2015 at 09:03 UTC | |
by pme (Monsignor) on Feb 07, 2015 at 12:51 UTC | |
Re^3: Honest question about Perl, Python and Ruby
by igoryonya (Pilgrim) on Feb 07, 2015 at 08:15 UTC | |
by eyepopslikeamosquito (Archbishop) on Feb 07, 2015 at 10:06 UTC |