Hesburgh Libraries

# Annotating Code: Preparing Code for Sharing & Reuse

Tuesday, February 4, 2025

2:00 pm – 3:00 pm

247 Hesburgh Library, Navari Family Center for Digital Scholarship

Learn why it’s important to annotate code, practice commenting in code, and write a README document.

When we write code, it’s important to also write what the code does. By writing good comments that explain our code and completing other documentation such as README files, we can ensure that code is shareable and reusable. Whether you’re revisiting a project you started a while ago, sending your code to your PI, or sharing a project publicly (for example, on a Github repository), code annotation makes things a lot easier.

In this workshop, we will practice annotating code—bring your own, or we will have a language-agnostic example that you can use. Additionally, we will discuss README files: what they are, why they’re important, and how to write them. Participants will come away with best practices for code annotation and a template for README-style documentation. This workshop is open to all, but is targeted to faculty, staff, students, and researchers who are already writing code (in any programming language) and would like to learn more about effectively sharing their work. Please bring a laptop and any code you would like to annotate.

View All Events

Sign up to receive weekly email updates for specific types of events.

284 Hesburgh Library, Notre Dame, IN 46556

Circulation Desk Phone (574) 631-6679

Security Monitors Phone (574) 631-6350

asklib@nd.edu

Facebook  Instagram  LinkedIn  Twitter   NDlibraries
Hesburgh Library Logo
Phone Number: (574) 631-6679