Samenvatting
We discuss the coding principle Don’t Repeat Yourself (DRY) and compare various tactics to achieve DRY code, both in the context of object-oriented (OO) programming and functional programming (FP). Neither OO nor FP play a significant role in the International Olympiad in Informatics (IOI), but these paradigms are highly relevant in industry. This article aims to make clear that they offer useful computational insights that should appeal to talented students and that could somehow make their appearance in the IOI. We conclude with an AHA insight and some WET advice for talent development and programming contests.
Originele taal-2 | Engels |
---|---|
Pagina's (van-tot) | 113-128 |
Aantal pagina's | 16 |
Tijdschrift | Olympiads in Informatics |
Volume | 18 |
DOI's | |
Status | Gepubliceerd - 10 jul. 2024 |
Bibliografische nota
T. Verhoeff is Assistant Professor in Computer Science at Eindhoven University of Technology, where he works in the group Software Engineering & Technology. His research interests are support tools for verified software development and model driven engineering. He received the IOI Distinguished Service Award at IOI 2007 in Zagreb, Croatia, in particular for his role in setting up and maintaining a webarchive of IOI-related material and facilities for communication in the IOI community, and in establishing, developing, chairing, and contributing to the IOI Scientific Committee from 1999 until 2007.
Financiering
I would like to thank Berry Schoenmakers (TU Eindhoven, Netherlands) and M\u0101rtin\u0161 Opmanis (Latvia) for helping me improve this article.