I was terrible at handwritten code. When I took a class called "C for engineers" I had basically only hello-world experience with C at the time, and they way your code was tested, was it was input into the prof computer and compiled as-is. He had some sort of image-text thing.
Point is, if you missed a comma or a semicolon you got a 0 for that unit. The final had a questing for like a 100 something lines worth 25 points, no partial. I think it took up 2-3 pages for me. It wouldn't compile. The average for the final exam was a 50% IIRC.