in reply to Re^2: "Cleverness" from HOP
in thread "Cleverness" from HOP
Simplicity is subjective.
To someone who is equally familiar with A, B, C, D, E, F, ABCD is less simple than EF.
To someone who is more familiar with A, B, C, D than with E, F, ABCD is more simple than EF.
The simplicity of the building blocks is not an indication of the simplicity of the whole.
As concrete example, compare
andmy @a; for my $b (@b) { push @a, process($b); }
my @a = map process($_), @b;
I consider the latter simpler or at least equally simple, but others consider it more clever since they haven't dealt with map or they aren't used to dealing with map.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: "Cleverness" from HOP
by demerphq (Chancellor) on Jun 14, 2009 at 10:28 UTC |