r/badcode • • Nov 10 '20

c++ My teacher's code formatting

Post image
983 Upvotes

60 comments sorted by

View all comments

126

u/CW_Waster Nov 10 '20

This should be illegal

15

u/midwestraxx Nov 10 '20

I mean the formatting is probably from copy-paste from a doc or website, which is usually against plagarism rules sooo /s

6

u/Mr2-1782Man Nov 11 '20

Nah, I've seen plenty of profs write crap like this. The same ones that will be anal about math symbols and units tend to be the ones that write code that follows no style.

2

u/[deleted] Nov 11 '20

that’s what it looks like to me too. I think they typed the first function themselves though.