For some reason I am having difficulty figuring out a good way to list code snippets in my undergrad thesis. My project is on development of some software and I've thought about doing this.
Algorithm 1 - description of what the code does
But then I realize algorithm really isn't the right word. I've thought about using the word procedure
but then again I don't know if declared classes count as procedures. Can someone offer some advice?