Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: 12 days of Perl?

by johnaj (Sexton)
on May 01, 2021 at 11:27 UTC ( [id://11131926]=note: print w/replies, xml ) Need Help??


in reply to Re: 12 days of Perl?
in thread 12 days of Perl?

Neat, thanks for the links. I made a Google search before posting and found only the first Perl Monks node. I was also surprised this challenge wasn't more popular. I was actually inspired by a post on the /r/prolog subreddit, where such challenges are regularly posted.

P.S. That code.golf page sure is hard to navigate – can you actually see people's solutions on there?

Replies are listed 'Best First'.
Re^3: 12 days of Perl?
by eyepopslikeamosquito (Archbishop) on May 01, 2021 at 12:17 UTC

    That code.golf page sure is hard to navigate – can you actually see people's solutions on there?
    No! If you could, there would be no competition. :) Unfortunately, the original code golf competition web site in Perl, Python, Ruby and PHP is now gone from the web forever and they never published any solutions ... though you can see some of them in my PM code golf nodes (especially the six part series "The golf course looks great ...").

    You can see the (handful) of published solutions for the 12 days of christmas game at the shinh golf link ... no surprise to see the leading one there starting with:

    use Compress::Zlib;print uncompress 'x\xda\xe5 ...
    Note that this solution would not have been accepted at the original code golf competition web site because modules were not allowed in those competitions - though you could use compression via the pack function as described in excruciating detail at Compression in Golf: Part I.

    The tricky problem of how long to keep the competitor's solutions a secret is touched upon in The golf course looks great, my swing feels good, I like my chances (Part IV) in the "No Time Limit" and "Golfer Burn Out" sections ... and also (update) in Re^2: The golf course looks great, my swing feels good, I like my chances (Part I).

    In our early golf games, run on the fwp and golf perl mailing lists, the solutions were kept secret for one week - see Dueling Flamingos: The Story of the Fonality Christmas Golf Challenge for an example of a classic one week Perl code golf competition (with cash prizes!) from the good old days.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found