Page 1 of 2
python..
Posted: Thu Apr 24, 2008 3:20 pm
by aztex
i have planned to read python .. is it useful..??
Posted: Thu Apr 24, 2008 5:41 pm
by JackScott
I'm assuming you mean the Python programming language, and yes, it is very useful. It can be used for all sorts of tasks, from really small to really big.
I learned Python at
computer camp, it was one of the best things I ever did.
Posted: Fri Apr 25, 2008 3:09 am
by JamesM
Perl > Python.
Write your holy war/religious arguments here.
--------------------------------------------------------
Posted: Fri Apr 25, 2008 3:54 am
by JackScott
You are incorrect. That is all.
Posted: Fri Apr 25, 2008 7:17 am
by Zenith
Perl > Python
BLASPHEMY!!!
Here's an interesting article with Eric Raymond's thoughts on Python vs. Perl:
http://www.linuxjournal.com/article/3882 - and of course, Python wins.
Posted: Fri Apr 25, 2008 8:06 am
by Solar
Perl > Python.
Write your holy war/religious arguments here.
You are incorrect. That is all.
In my opinion,
no language is
per se "better" than some other language.
I claim: INTERCAL > Python.
I also claim: Perl > Python.
I
also claim: Python > Perl.
The only question is: What is the question? INTERCAL is the weirder language and highly entertaining in that regard. Python is the more modern language with a "cleaner" approach. Perl is the older language supported on more esoteric platforms.
The only stupid thing about languages is calling them names or getting into flamewars over them.
Posted: Fri Apr 25, 2008 8:18 am
by zaleschiemilgabriel
assembly > everything
Posted: Fri Apr 25, 2008 8:43 am
by Combuster
JamesM wrote:Perl > Python.
Are you suggesting perl is more bloated?
*ducksandruns*
Posted: Fri Apr 25, 2008 10:39 am
by Solar
Could be.
Or I could be saying "I know Perl but no Python." (Which I intend to remedy next week.)
Or I could be saying "there are more people knowing Perl than Python", although I couldn't prove it.
Or I could be saying "there is a functional Perl interpreter for the Amiga platform, but no Python interpreter".
The point is, "better" is a very relative, very subjective thing.
Posted: Sun May 04, 2008 7:54 pm
by asdx
Ruby > Perl > Python
Posted: Sun May 04, 2008 8:05 pm
by 01000101
well, as I agree with Solar about the futility of flaming programming languages, I will just say this:
I intend to learn python very soon, as it seems to have alot to offer. I wish to add this to my language list as it cant hurt, and will maybe come in use one day. I know perl to a decent extent and like it, but it has its place. I would also someday like to learn ruby, but that is not much of a priority for me.
Posted: Sun May 04, 2008 8:24 pm
by AdHawk
You have to look at it knowing that Python is what people decided to make after realizing the shortcomings of PERL. Perl, which is sometimes given the "backranym" Practical Extraction and Report Language, is really not very useful for much other then just that. Its very good at what it was designed for, and bad at most everything else.
The argument for Python vs Perl is like starting an argument of PHP vs C#. They solve different problems and each have a specific task. Python has a larger scale of good ways it can be used, better syntax for editing, and lots of other features which would make you say "hey python is so much better then perl." And for most things it is, but that doesn't mean Perl doesn't have its place.
Posted: Sun May 04, 2008 8:41 pm
by asdx
I don't like Python's motto that much "
there should be one—and preferably only one—obvious way to do it" and I don't like how it forces you to indent everything, even though code indentation is a good practice, but I dislike the
force part, I think programmers/developers should always be able to
choose how to do things (not everyone likes to do the same thing the same way).
I like Perl's philosophy more: "
There's more than one way to do it.", I like freedom, it goes more with my way of thinking... this is also the philosophy that Ruby is based on.
Ruby for me is the best between the three, I like the fact that Ruby is based on OO entirely, everything in Ruby is an object, not just like in other languages where OO is an "add-on" of the language itself, I also like the fact that just about anything is an expression (eg if statements, blocks, etc). I like the way Ruby is designed and I also enjoy the syntax and the philosophy a lot more.
Sure, Python is a good language too... I just enjoy using Ruby more
.
Posted: Mon May 05, 2008 4:31 am
by Solar
See, it's the other way around for me - I prefer the Python motto over the Perl one. That is in part because, aside from programming being my hobby, it is also my job, and there I prefer if things are clear, consistent, repetitive, instead of trying to think my way through The Creative Way To Do This (tm), #1738.
Posted: Mon May 05, 2008 6:18 am
by B.E
I'm not going to get into the whole language war (Languages are good at doing what they are designed for, e.g PHP is good for web content, but not good for OS Deving, C# is good for selling windows and not good for anything else).
I just did a quick look at how Python is (never got a change to look at Python before). I plan on learning it a bit further. One of the languages that I find useful and fun, is AWK. It's a very good language for processing text, but I would never use it for OS Deving.