Harley J Pig wrote:
>On Monday 06 May 2002 01:34 pm, Dave Hoover wrote:
>> >Could that suggestion be implemented as a column TPR though?
>>
>> Can you tell me how this would differ from the current TPR Perl Golf
>> column?  My goal for the column is to help beginner and intermediate
>> Perl Golfers understand what goes on in these compact solutions.
>> I would appreciate hearing how I could do a better job at this.
[snip]
>Ok, it took me all of that to figure out what the answer to 
>your question is:
>
>The Post Morten seems to focus on how the winning solution does 
what it does 
>(with some commentary on the finer points of how 1 or 2 characters 
were 
>shaved from various places) and what myself (and, it seems, others) 
are 
>looking for is an article that walks us through practical applications 
of how 
>to condense our starting code.
>
>I realize this is asking a lot of you--perhaps you could pick someone 
to keep 
>a diary and use that as a basis.

For starters, check out "Tiger Woods isn�t Worried, and Neither is 
abigail: A duffer�s first try at (perl) golf" in April's issue of 
'The Perl Review':

http://www.theperlreview.com/Issues/The_Perl_Review_0_2.pdf

To do what you're asking requires more than the one page of real 
estate that the Perl Golf column is currently limited to.  I think 
Mike does a great job taking readers from an average bulky first 
solution through to the streamlined final product.

I will do my best to incorporate your suggestions into to the next 
column.

>I also realize that this is just a game, but I get some of my best 
ideas for 
>better code in my work here.  Squeezing the next little bit out 
of my web 
>applications is always good and its helped me get my reputation 
here at work. 
> Don't get me wrong, I don't depend entirely, or even majorly (word?) 
on PG, 
>but it's another valuable resource for me and learning how to condense 
>effectively is a Good Thing(tm).

This is music to my ears, and makes the work that so many of us have 
put into Perl Golf worthwhile!  Of course, I would never advocate 
using Perl Golf techniques in production code, but it certainly opens 
up new avenues of thought and expands your Perl tool box immensely.


--Dave






Reply via email to