Ruby Golf

A session at London Ruby User Group May 2011

Monday 9th May, 2011

6:30pm to 8:00pm (GMT)

Andrew McDonough started his career as a perl programmer. Perl, like
ruby has a lot of 'syntactic sugar' to help developers write concise
code. Perl programmers sometimes play a game known as 'perl golf' to
explore the lesser-known features of the language. The aim of 'perl
golf' is to solve a problem using the fewest characters possible.

At this month's meeting Andrew will run a practical evening based
around 'ruby golf', an adaptation of perl golf for ruby developers.
People will be asked to form teams of 4-8 people, and solve nine short
ruby golf 'holes' using as few characters as possible. Each hole will
be defined by a set of RSpec examples describing a single method, and
the teams must write the method to pass all of the examples. At the
end, the solutions will be scored and the winning team will be

This evening should have something for everyone; beginners can pick up
some language tricks and learn how to write code to pass tests, while
experienced ruby developers will have the opportunity to show off
their skills and compete with their peers.

About the speaker

This person is speaking at this event.
Andrew McDonough

@Tribesports CTO and Co-founder. Ruby developer. Swapping burgers for startup stories at http://howwastheburger.com. bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 6:30pm8:00pm GMT

Date Mon 9th May 2011

Short URL


View the schedule



See something wrong?

Report an issue with this session