Go to content

Golf Scripting with Ruby - Helping Santa Schedule Christmas by Ely Alvarado

Golf Scripting with Ruby - Helping Santa Schedule Christmas by Ely Alvarado Code Golf is a fun form of programming competition where the aim is to produce the shortest source code that implements an algorithm. In this talk we will show how we tackle a complex problem: helping Santa schedule the work of his elves Army to deliver presents on Christmas Day. We will go step by step on how to find an algorithm to solve it and how to use Ruby’s language features to make it as short as possible. You’ll learn a few secret shortcuts built into Ruby that you probably don’t know about.

November 8, 2021