Date: Sun, 20 Jan 2002 14:38:08 +0000 From: Simon Siemonsma <simon.freebsd@hccnet.nl> To: freebsd-questions@freebsd.org Subject: Fwd: Re: what is a good language for system administration? Message-ID: <200201201332.OAA28441@smtp.hccnet.nl>
next in thread | raw e-mail | index | archive | help
At http://www.ndh.net/home/sschwarzer/python/perlpy_vortrag.html#empfehlungen you find a comparison between Perl and Python in German. I will give the concluding remarks in German and the translation: Abschließende Bemerkungen Concluding remarks Faustregel: Wenn es nicht besondere Gründe gibt, Perl zu verwenden, sollte man ein Projekt mit Python in Angriff nehmen. Rule of the thump: When there are no special reasons to use Perl, you should use Python. Für beide (genauer: alle) Sprachen gilt: Erst denken, dann schreiben :-) For both (more precise: all) Languages you should thing before you write :) Auch in Python kann man unverständliche Programme schreiben, wenn man nicht aufpasst. Also in Python it is possible to write uncompihendable programs if you are not carefull. Simon Siemonsma Die Zeit, die man in Python bei der "Implementation im Kleinen" spart (Fehlersuche!), kann man zum Herausfinden von besserem Programmdesign und besseren Algorithmen verwenden. On Sunday 20 January 2002 11:45, you wrote: > <scanner@jurai.net> writes: > > > rene@xs4all.nl writes: > > > > * checking if a remote host is up > > > > * pumping files & RAM data through external tools > > > > * calling scripts written in the same language on a remote machine, > > > > to 'pickup' data that was pumped to that machine by a local script. > > > > > > Perl was written with sysadmin work in mind. That was the original > > > > Perl is a hideously ugly language that should be taken out and shot. > > Since your soliciting opinions :-) Python is a much easier, cleaner, and > > nicer language for sys admin tasksfor me then perl. > > Correct me if I'm wrong, but isn't Python completely object orientated > ? And doesn't it force you to write your code in an OO structure ? to > me that just seems like overkill for the average day to day sysadmin > task. > > Perl code can be ugly and wrong, but if written properly, it is easily > readable and easy to work with. ------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201201332.OAA28441>