profile

Dr. Heidi Seibold

Code Clubs - good coding practices for all

Published 4 months ago • 2 min read

Code clubs are initiatives where people meet to improve their coding skills and help each other out. I am a big fan of them as I believe that they can help improving the quality of research. Because as we all know: Better Software, Better Research.

I recently learned more about the code club at the Max Planck Institue of Psychiatry (MPIP) in Munich and would like to share how they organize it in the hopes that it might inspire you. Thanks to the organizers Vera Karlbauer and Jonas Hagenberg for helping me write this post.

CodeClub at MPIP

Target audience: researchers who use code but may have quite varying programming skills (from wet-lab scientists to bioinformaticians).

Goal: increase the quality of their research software and code scripts for better reproducibility and fewer errors.

Structure:

Meetings: 1x per month, ca. 1h

Format:

  • Short presentations (ca. 10 min) about a relevant topic
  • Short exercises in small groups

Code Review:

  • Platform to find a partner
  • Help with how to perform a code review
  • Discuss problems and experiences in the group

Implementation:

  • Ask everyone to present – does not need to be polished
  • Set realistic goals (only 1h)
  • Use breakout rooms for exercises when online
  • Mix experienced with less experienced participants
  • Collect presentations at one place

Organizers: Two PhD students (currently Vera and Jonas). They recruit a new candidate from the attending students when one of the two PhD students graduates.

Implementing a code club can be challenging. In their talk, Vera and Jonas mentioned the problems, but they also found some solutions:

  • Beginners are reluctant to join:
    • Communicate and advertise during onboarding
    • Low entry barrier and easy first wins (use a project template!)
  • Wide range of different projects and software.
    • Topics that are programming language agnostic but useful for many, e.g. literature review tools.
    • Promote a project template for better comparability.
    • Best practice template scripts for R and Python (still work in progress).
  • Often data analysis scripts instead of software development.
    • Be pragmatic. E.g. instead of full documentation or github code reviews, code comments may be enough.
  • Code review is time-consuming and is not considered an important contribution.
    • Long-term solution: change culture and recognize achievements.
    • Clear code review guide.

Other code clubs

There are many similar initiatives and quite some useful resources. Here is a list of a bunch of them. Please check them out and consider starting join a code club or even starting one ;)

Support needed?

Need help with starting a code club or implement other strategies in your group/institution/project to improve the quality of your code?

The Digital Research Academy does just that.

All the best,

Heidi


P.S. If you're enjoying this newsletter, please consider supporting my work by leaving a tip.

Heidi Seibold, MUCBOOK Clubhouse, Elsenheimerstr. 48, Munich, 81375
Unsubscribe · Preferences · My newsletters are licensed under CC-BY 4.0

Dr. Heidi Seibold

https://heidiseibold.com

All things open and reproducible data science.

Read more from Dr. Heidi Seibold

The Open Science Retreat 2024 was a full success. We co-created so many things and had a wonderful time at the Dutch dunes. Read on to learn what came out of the retreat. The Open Science Retreat follows an unconference model. Except for the plenary sessions, all activities are optional. The edition 2024 was mainly organised by OSC-NL. Here's a few of the things we did: Unconference sessions: Collaborate on diverse topics from measuring open science to FAIR code (more below) Walks: Whether...

3 days ago • 1 min read
Lego blocks with words on them: "Open Science" at the top, "Open Source", "FAIR/Open Data", and "Open Access" at the bottom

What are good strategies to develop an Open Science Policy? Here's our opinionated guide. This post was co-created with Sander Bosch, Open Science Programme Coordinator at VU Amsterdam. At the Open Science Retreat 2024 Sander and I had a conversation about his experience in policy development. Since we believe that his experience is valuable for a lot of people out there, we decided to write down three simple rues to create an Open Science policy: Develop output policies first and combine...

17 days ago • 3 min read

Guest post: Meet Dr Elisabeth Kugler, director of Zeeks – Art for Geeks. In this post she will share her career path and how her work connects with open science now that she is an entrepreneur. I am Dr Elisabeth Kugler, director of Zeeks – Art for Geeks – a company that transforms how people think about data. We achieve this by data analysis, visualization, and communication. And our speciality is image-based data and strategies. In this article, I aim to discuss Zeeks' perspective on open...

about 1 month ago • 2 min read
Share this post