> Message: 12 > From: optimus <[EMAIL PROTECTED]> > Organization: Abbey Road Recording Studios > > Is it because Python's syntax is easy-to-learn and elegant?
Yes, extremely elegant. Different enough from C that to take full advantage, you're going to have to reorient your thinking quite a bit, but it's all downhill (and quite a steep one too!) from there, trust me. > Is it because the multiple ways of doing a certain task in Perl tends to > confuse and eludes optimization? For me... primarily because it makes understanding code a real chore. > Can Python meet all your scripting needs? > Is Python indeed an excellent "glue language" for > Linux programming tasks? Definitely. All my scripting needs and much, much, much more. I'm even thinking of writing (or at least prototyping) Open GL games and graphics apps using Python (with C extensions). I've discovered 'scripting' nature turns out to be quite suited for even mainstream apps! Bruce Eckel (a C++/Java guru) was quoted as saying he was thinking of using Python for all his future projects and this was what made me invest time learning Python after ignoring it for so many years. Now I understand what made him say that. > Can you exclusively use Python? Or can you somehow embed > Perl in ways and tasks where Python is deficient? The one part I can think of where Python may fall short of Perl is in super intensive text processing. But really, Python's libraries are already so rich that I find myself using only a small fraction of what it has. The only caveat: Python performance is not the best around. But... think about this, before I tried Python, my philosophy was: screw any language that does not give me full speed. After being exhilarated with Python's excellent syntax and facilities, my philosophy became: To hell with execution speed. Premature optimization is indeed the root of all evil. Give me a language with the best notation possible. I'll worry about optimization once I get the design right. I like the fact that I can code C (no C++ thank you) extensions cleanly for Python although what I really wish for is to be able to code Pascal extensions hehehe. Pascal is a LOT cleaner than C. _ 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]
