Thread Welche Schreibweise verwendet ihr ?: ... nur aus Interesse (168 answers)
Opened by havi at 2003-09-11 23:56

GwenDragon
 2006-04-24 17:49
#51058 #51058
User since
2005-01-17
14815 Artikel
Admin1
[Homepage]
user image
$a = 1 if ($a =~ /^\d+$/ && $b =~ /^\w+$/ && $c =~ /^ja$/i && ($d =~ /^1$/ || $e =~ /^1$/));
Soll man sowieso nicht nehmen. Außer die ProgrammeirerIn ist "very, very lazy!"
and anstatt &&.

Quote
Use the new ``and'' and ``or'' operators to avoid having to parenthesize list operators so much, and to reduce the incidence of punctuation operators like && and ||. Call your subroutines as if they were functions or list operators to avoid excessive ampersands and parentheses.

perlstyle
Das sagt sebst der Perl Styleguide ;)\n\n

<!--EDIT|GwenDragon|1145886807-->

View full thread Welche Schreibweise verwendet ihr ?: ... nur aus Interesse