24–27 Mar 2025
CERN
Europe/Zurich timezone
There is a live webcast for this event.

Code You Won’t Regret (Too Much): How to Write Maintainable Code

25 Mar 2025, 14:15
1h
31/3-004 - IT Amphitheatre (CERN)

31/3-004 - IT Amphitheatre

CERN

105
Show room on map

Speaker

Niels Alexander Buegel

Description

If you have ever worked with an existing code base, you have likely realised how frustrating and time-consuming this can be. Why do some code bases allow you to easily make changes whereas other code bases make you want to pull your hair out and switch to a career in goose farming? In this lecture, we will explore some key principles that make code maintainable, adaptable, and easy to work with. We will start by defining what maintainable code really means, then explore the most important factors that contribute to it: readability, simplicity, single responsibility, abstractions, documentation, and testing.
These concepts apply at any granularity, in any programming language, and with any programming paradigm. You will not only save yourself headaches but also make life less frustrating for anyone who has to work with your code (or at least make them less likely to be angry at you).

Number of lecture hours 1
Number of exercise hours 0 (no exercises)
Attended school CSC 2024 (Hamburg)

Author

Niels Alexander Buegel

Presentation materials