Thread Python rockz!
(82 answers)
Opened by pktm at 2007-06-03 17:08
[quote=pq,04.06.2007, 21:36]ich benutze chomp, und wenn jemand eine datei nicht richtig hochladen kann,
dann ist das ein anwenderfehler.[/quote] Dem stimme ich nur bedingt zu. Wenn jemand ein Programm schreibt und externe Daten verarbeitet und diese Daten von anderen System stammen könnten, dann sollte er diesbezüglich eine Option bereitstellen. ./script.pl -o mac ./script.pl -o linux ./script.pl -o s390 ./script.pl -o win ./script.pl -o ??? Ansonsten ist chomp() völlig ausreichend!\n\n <!--EDIT|opi|1181026288--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |