Christian Pfeiffer schrieb in 0,5K (27 Zeilen):
Nicht nur für Kids, und zum lernen IMHO sehr gut geeignet ist Python ( http://www.python.org ). Keine Angst vor OO ;-) Und ist bei SuSE mit dabei.
Ich bin mir nicht sicher, ob ich eine Sprache, welche *signifikante* Einrueckungen hat, mag. Beispiel: Perl: while (1) { $buf = $fp->read($blocksize); if (not $buf) { last } $conn->send($buf); } oder: while (1) { $buf = $fp->read($blocksize); if (not $buf) { last } $conn->send($buf); } oder: while (1) { $buf = $fp->read($blocksize); if (not $buf) { last } $conn->send($buf); } (Klar, das erste ist lesbarer.) Python: while 1: buf = fp.read(blocksize) if not buf: break conn.send(buf) Und die Schleife wird durch die Einrueckung alleine definiert. -Wolfgang http://language.perl.com/versus/python http://www.perl.com/pub/1999/11/cozens.htm -- One of the characteristics of a postmodern computer language is that it puts the focus not so much onto the problem to be solved, but rather onto the person trying to solve the problem. --Larry Wall, Linux World 1999 --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com