dilevin / computer-graphics-raster-images

Computer Graphics Assignment about Raster Images
1 stars 7 forks source link

Are we required to remove debug info to console? #35

Closed desmondlzy closed 4 years ago

desmondlzy commented 4 years ago

As title.

I put some cout in my code... to write something to the terminal to help me debug. Will they have a negative effect on my grade?

The same question for other coming assignment in this course.

Thanks a lot!

dilevin commented 4 years ago

You should remove debugging output statements from your code because they can dramatically slow down execution. This makes grading more tedious for the TAs. While leaving them in won't effect your mark, the polite thing to do is to comment them out.

desmondlzy commented 4 years ago

Thanks David! I see your point and I already deleted all debugging statements.

Actually I only had a couple of messages to the console throughout the execution of my program, e.g., after each call of write_ppm. I guess that will not flood our TA's terminal and slow down his computer. Is that acceptable?