On Wed, Jan 29, 2003 at 03:13:29AM +0800, optimus wrote: > Is it because Python's syntax is easy-to-learn and elegant?
Python's syntax is easy to learn. Python's syntax is elegant. > Is it because the multiple ways of doing a certain task in Perl tends > to confuse and eludes optimization? There are many ways of doing any task in Perl. This is not necessarily a bad thing. This is not necessarily a good thing either. But that's not what really bothers me about Perl. It's cool and powerful, but I -personally- prefer Python's syntax infinitely. Plus I don't think you get that much speed benefit using Perl over Python, so... > Can Python meet all your scripting needs? It's met -mine- so far. Who are you asking in particular? Do these quotes[1] help? [1] http://www.python.org/Quotes.html > Is Python indeed an excellent "glue language" for Linux programming > tasks? It is. So is Perl. So are the plain-old-shells. It's all about preference and choice. > Can you exclusively use Python? I have yet to try using Python as my default shell, but it -may- be doable. > Or can you somehow embed Perl in ways and tasks where Python is > deficient? I would personally not embed Perl into Python. If for some reason I find that Perl fills in a spot where Python is deficient (note the if), then I'll use Perl instead. However for most purposes it seems you'll want to "plug in" optimized C code instead of Perl to speed processor-intensive tasks up, and this Python can definitely handle. --> Jijo PS- someone please read <http://jijo.free.net.ph/joulfaq#10_best> -- Federico Sevilla III : http://jijo.free.net.ph : When we speak of free Network Administrator : The Leather Collection, Inc. : software we refer to GnuPG Key ID : 0x93B746BE : freedom, not price. _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
