I second that. I found it easier to implement design patterns and classes in general with python. It is a lot more natural than with perl. I did not find any problem with working with python libraries, i.e., i did not feel something very crucial was missing. With perl, however, i doubt there can be anything missing from the CPAN library which is it's strongest point.
Ruby is also very cool but it's main problem is documentation (Japanese) and lack of diversity and completeness of it's libraries (such as the support for glade, etc...) so if you are of the ruby mind, go with python. On Saturday 17 February 2007 19:52, guy keren wrote: > Jonathan Orlev wrote: > > Hello everybody, > > > > > > I don't have knowledge of Perl nor do I know Python. > > > > > > I have experience with Bash scripting, Windows Batch ("Eichs") and > > VBScript. > > > > > > My question is this: > > > > > > I need to learn some scripting language for mostly, but not only, > > administrative tasks and other automation programs. > > > > > > Perl, Python, (and Ruby?) are the obvious candidates. > > > > > > I think I know what makes Python better than Perl. > > > > > > But what really want to know is this: > > > > > > In what things/aspects does Perl better than Python? > > > > > > Does it have some advantages over Python? When should I choose Perl over > > Python? (language-wize, ignore any "external" issues such as > > availability, previous familiarity with the langs, performance, the need > > to maintain existing code, etc'). > > > > > > Do you think Python is better than Perl in every aspect, so one should > > always learn Python and not Perl? > > > > > > I am asking it here because many of you probably have knowledge and > > experience with both languages, and since you prefer Python, you are > > probably more aware to Perl 's advantages and strengths over Python (and > > not only vice versa). > > > > > > ThanQ, > > > > > > Jonathan Orlev > > why do you think "you all preffer python"? i don't - i'm the perl troll > who joined here because i started using python as a hobby. > > from the little i managed to play with python - it is far easier to use > it to develop general applications - because the objects in python make > sense, while in perl they are designed as a kludge. writing a checkers > game in python felt quite intuitive - i wouldn't have tried doing the > same thing in perl. > > however, for automating programs, for parsing texts and for > administrative tasks - perl has the edge. the code just almost "writes > itself", and there are many CPAN modules (read: standard library of > modules) to add support for many features that are needed during such > tasks - i found myself using many such CPAN modules in various > situations - sometimes those that came with the operating system's perl > distribution - and sometimes using others, for more specific tasks. > > --guy -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html