07-13-2004, 05:50 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
07-13-2004, 06:01 PM
|
Free Member
|
|
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Nice post Karl, I was looking into learning Python as it's an up and coming programming language.
__________________
Regards.
Michael.
|
07-13-2004, 06:10 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
With a "pain in the ass"-er syntax based on indentation spaces !
Forget ONE space and your program won't compile
PERL Rulez !
|
07-13-2004, 09:45 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
With a "pain in the ass"-er syntax based on indentation spaces !
|
It's a beauty, once you get used to it (I did ) Quote:
Forget ONE space and your program won't compile
|
Use IDLE, BOA, or Active State Python editor, and the indentation is automatic Quote:
PERL Rulez !
|
Perl SUCKS :P
Write a program today, next month you can't tell what you wrote.
And you can read about all the commercial success stories on Python here:
http://pythonology.org/success
(No wonder NOKIA decided to do their future developments in Python, and trash PERL )
If you feel I'm biased towards Python, you're right
That's because to me, it has also been a success in several of my commercial projects
-kwag
|
07-14-2004, 04:55 AM
|
Free Member
|
|
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I to am a big fan of Python especially after a friend of mine recommended it to me, I think it is going to be a very powerful tool for programming.
__________________
Regards.
Michael.
|
07-14-2004, 07:45 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by kwag
Perl SUCKS :P
Write a program today, next month you can't tell what you wrote.
|
I forgot to tell that I am a PERL master designer since 5 years now
I use to maintain a program for ALCATEL that counted several thousands lines. And a well commented software can be reopned 1 year after with no problem
Quote:
I also forgot to tell that last month I fixed bug in a python program and next task is to redesign it entirely in PERL to integrate it to the whole programm designed by our team in Ottawa. Python LOC = 500. Estimated PERL LOC for the same task : 200/300. With comments !
I work for Nortel Networks now and all is done in PERL.
Quote:
(No wonder NOKIA decided to do their future developments in Python, and trash PERL )
|
And do you know the true story behind this ?
Let's resume : Alcaltel use PERL, Nortel Networks use PERL... Nokia trashes PERL...
Not-interoperability systems... do you understand ? That is not a technical choice, that is only business. They did that on purpose.
Quote:
If you feel I'm biased towards Python, you're right
That's because to me, it has also been a success in several of my commercial projects
|
PERL is a commercial succes since a lot longer
|
07-14-2004, 10:12 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
PERL is a commercial succes since a lot longer
|
And Python has had a much larger and faster success than PERL in a much shorter time.
It's all about "clear syntax", and a cleaner language, which PERL heavily lacks.
It's a matter of time, and more companies using PERL will switch.
Just take a look at Johnson Space Center (NASA), where Python is now their choice for scripting language.
And about large scale projects in PERL? Well, I don't agree, even if it's heavily documented.
PERL's syntax compared to Python, is like comparing C to BASIC
And that is a maintenance nightmare.
(And I'm not kidding )
-kwag
|
07-14-2004, 10:27 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by kwag
And that is a maintenance nightmare.
(And I'm not kidding )
|
It's wrong and I'm not kidding too
I do know PERL and my job. All is matter of good policy and coding rules. Whatever the langage (PERL or Python is the same : you can do shit with both ).
Between the python script and the next perl task I'm involved into a Java GUI enhancement. THAT is a real nightmare
|
07-14-2004, 11:05 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
I do know PERL and my job. All is matter of good policy and coding rules.
|
Sure, but readability is a very precious thing, and the larger the application written in PERL, the more complex and un-maintainable it gets. That's an industry fact Quote:
Whatever the langage (PERL or Python is the same : you can do sh*t with both ).
|
Yes, but PERL just doesn't scale. Python scales far beyond C/C++ and others Quote:
Between the python script and the next perl task I'm involved into a Java GUI enhancement. THAT is a real nightmare
|
Yes indeed
So, why don't you just program your GUI in Jython, which targets Java byte code directly, and you don't have to worry about Java's nightmare
www.jython.org
This way, you can use the power of Python's syntax with ALL the standard Java classes/libraries.
-kwag
|
07-14-2004, 05:30 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by kwag
So, why don't you just program your GUI in Jython, which targets Java byte code directly, and you don't have to worry about Java's nightmare
|
I didn't know it .
In fact as I tell you I'm currently enhancing a Java GUI that was already coded by other team.
Quote:
www.jython.org
This way, you can use the power of Python's syntax with ALL the standard Java classes/libraries.
|
I'll study that for the next step then. Because currently the idea is to redo all the stuff in... PERL/TK
|
All times are GMT -5. The time now is 01:52 AM — vBulletin © Jelsoft Enterprises Ltd
|