in reply to I wrote some clever code - can the comment "defuse" it?
After a lot of discussion (much of which happened on the CB and is not going to be available for posterity, I'm afraid) I think the following is much clearer.
Update: I got pretty positive feedback for this version from the monks involved in the discussion, so that's what I'm sticking with. Thanks everyone! :)my @sequence_length = map { length } join('', @property{@letter}) =~ /\G(X|D+|L+)/g, my @letter_seq = map { $curr->[STYLE] . ":" . join(',', splice @letter, 0, $_), } @sequence_length;
Makeshifts last the longest.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: I wrote some clever code - can the comment "defuse" it? (stab at restructuring)
by dws (Chancellor) on Jun 17, 2003 at 23:09 UTC | |
by Aristotle (Chancellor) on Jun 18, 2003 at 00:39 UTC | |
by ferrency (Deacon) on Jun 18, 2003 at 16:15 UTC | |
Re^2: I wrote some clever code - can the comment "defuse" it? (final form)
by Aristotle (Chancellor) on Jun 18, 2003 at 09:57 UTC | |
Re: Re: I wrote some clever code - can the comment "defuse" it? (stab at restructuring)
by castaway (Parson) on Jun 18, 2003 at 07:48 UTC |
In Section
Seekers of Perl Wisdom