Library Workshops and Events

Event Details

# Annotating Code: Preparing Code for Sharing & Reuse

OPEN TO:
-Faculty -Graduate Students -Postdocs -Staff -Undergraduate Students

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.

DATE
Tuesday, February 4, 2025
TIME
2:00PM - 3:00PM
LOCATION
Navari Family Center for Digital Scholarship // Hesburgh Library 2nd Floor // Consultation Room 247
PRESENTER
Summer Mengarelli
CATEGORIES
CDS | Data Use & Analysis Workshops CDS | Programming Workshops CDS | Research Data Services Workshops

Registration is required. There are 15 seats available.

Contact Info

Summer Mengarelli
Profile photo of Center for Digital Scholarship
Center for Digital Scholarship

Hesburgh Library–2nd Floor NE
cds.library.nd.edu
cds@nd.edu

Julie C. Vecchio '04, MPH, MLIS
Co-Interim Director
jvecchio@nd.edu
(574) 631-4900