Marc-André Lafortune
Ranked 38 in Phase 1 with 51 unique views, 19 counted upvotes and 9 counted downvotes

Bug or Feature – the Ruby quiz game

Test your Ruby knowledge and intuition with an interactive quiz on Ruby. How surely can you detect unexpected behavior from normality? Are you in tune with Matz's principle of least surprise? Is it a bug or a feature?

The questions will cover some interesting bug reports and feature requests of ruby-core, spiced up with a couple of trick questions. To uncover the answers, we'll have to explore unchartered territories. We'll dig deep in recursion, battle failing specs, encounter exotic Floats and other infinities, and decipher arcane C code.

Rubyists of all levels, from beginners to hardcore pros are invited in this informal challenge. Be sure to check your ego at the door, as no-one will escape unscathed; even top notch ruby-core committers don't always get right answers! Let's discover what can lie under the apparent simplicity of Ruby without forgetting the most important: having fun.

Previous Next


  • D87dddeb300217e6c6574f5ffae220be?d=retro Nikos Dimitrakopoulos suggested 8 months ago

    My 2 cents regarding the interactivity: go for the analog/physical way - it's always more fun in my eyes ;)

  • The proposal author responded 8 months ago

    Thanks for your comments and questions.

    This presentation is based on a talk I gave previously and the duration was about half an hour IIRC. While some of the questions are relatively quick to cover, others require more in-depth answers.

    What I did in the past was pretty simple: I distributed pairs of paper signs (red & green) that people could raise whenever I asked if some intriguing code example was a bug or a feature.

    It was easy to estimate the feeling of the audience, but more importantly, I found that forcing people to think about a question and take a side is very engaging. It's also more fun when the answer comes, even if (or especially if) you guessed wrong.

    To avoid having people influenced by others, I was considering writing a simple app where people could select their answers privately using laptops/phones and the totals would only show when the answer is actually revealed. This is what you were suggesting, right? It would also make it easier to see how much better Rubyists do at this "quiz" than monkeys!

  • 3c7964e731bc7da3786195d7ac264209?d=retro Fotos Georgiadis suggested 8 months ago

    This looks like a fun presentation.

    Is it meant to be a 30 - 45 minute talk or are you willing to do this as a lightning talk as well?

    What do you mean by saying interactive? Can you give us a glimpse on how you are going to interact with the audience? Pass mics around and ask questions? Some other way? For example a web application, where you show a question and ask for a quick (3-5 seconds) answer?