How a Hackathon appreciates quality code

Some lessons from the world’s largest Blockchain hackathon

Joost Visser
Feb 13, 2017 · 5 min read
Robin Knaapen of team DC Cicero shows off their 10 out of 10 score on code quality at the worlds largest Blockchain hackathon. Image courtesy of Drenthe College.

Last weekend, the world’s largest Blockchain hackathon took place in The Netherlands. During 54 hours, 350 participants, organised into 55 teams, competed in five tracks, on one grid, and with zero time to lose.

Also, these teams took responsibility for the quality of the code they were hacking together by executing 2000 code quality checks.

Here is how we made those 2000 checks possible, and how we made sure they helped to accelerate the teams.

An appreciative approach to judging

The hackathon organisers decided to take what they call an “appreciative” approach to the judging process. In their words:

Rather, they facilitated a holistic approach, throughout the event and beyond, in four stages: (1) support, (2) reward, (3) award, and (4) accelerate. A key instrument in this setup is the “Impact Canvas” on which the teams share the wealth of their projects on multiple dimensions.

The Impact Canvas template. Space for sharing all dimensions of a great hackathon project. Kudos to Ritzo ten Cate for driving this approach.

Using the canvas, the teams share and discuss with supporters, Jedi, accelerators, and reporters, taking them along on their journey, engaging them, co-creating with them.

How about code quality?

One of the dimensions of a great hackathon contribution is the quality of the solution, including the code. But how can teams collaborate on code quality and share their code quality achievements with others?

For this, we gave them the Better Code Hub:

  1. We gave the team 10 guidelines for building maintainable software. The guidelines were presented to them in a pre-hackathon meet-up and they received copies of our O’Reilly book that describes the guidelines. Together, the 10 guidelines provide a for code quality that is challenging, yet achievable and fun.
  2. We gave the teams free access to the Pro version of Better Code Hub, allowing them to check their code against the 10 guidelines and giving them actionable feedback on what changes to make in the code for meeting the guidelines. Teams can head over to www.bettercodehub.com to get feedback within minutes, and they can turn on to get feedback on every commit.
  3. A team of software quality Jedi were available during the event to help teams use the Better Code Hub and for counseling them on anything related to code quality. Which refactoring should I apply? How can I deal with dependencies on third party code? How can I make my code more testable? The code quality Jedi’s have answers.
  4. Before code-freeze on the last day of the Hackathon, all teams were given the opportunity to have their code quality results validated by the Jedi, who provided them with swag and badges and encouraged them to share their code quality score on their Impact Canvas.
  5. After the event, the teams retain access to the Pro version of Better Code Hub for another 12 months, as well as continued support from the Jedi on anything related to code quality. The hackathon is a great learning experience for putting together a complete application, including third-party components and build pipeline, but it’s only the first step towards a shippable product.

This is what code quality looks like on some of the Impact Canvases:

Code quality achievements on the Impact Canvas of 3 teams at the Dutch Blockchain Hackathon.

Digitally, teams showed off their code quality prowess with GitHub badges that were collected on a scoreboard:

The Better Code Hub badges were collected on a central scoreboard.

So what is the impact of code quality during a hackathon?

We chose not to just measure code quality and feed measurement results to the jury. That would run counter to the “appreciative approach” and have the wrong effect. Instead, we empowered the participants to get code quality right, in a uniform manner, enabling them to show off their code quality achievements as one of the many dimension of their achievement. The effects are as follows:

  • Uniting teams: with a clear definition of done for code quality, teams don’t need to waste time quibbling about coding style. Also, they get to celebrate together, each time a code check shows improvement.
  • Faster coding: teams that build high-quality code from the start can keep up their coding speed throughout the hackathon. Also they can more easily handover code within the team. No spaghetti to get entangled in.
  • Appreciation for code: Hackathons should be about code, as much as they are about learning, team work, and brilliant ideas. Making code quality easy to measure, easy to share, and easy to reward contributes to give code the visibility it deserves.

So, if you are organising a Hackathon, we can recommend an appreciative approach, including an empowering approach to code quality. If you want to learn from our experiences at the Dutch Blockchain Hackathon, we are happy to help.

SoftwareImprovementGroup

Getting Software Right: https://sig.eu

Thanks to Mircea Cadariu and Maureen Blandford

Joost Visser

Written by

SoftwareImprovementGroup

Getting Software Right: https://sig.eu

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade