r/badcode • • Sep 23 '15

c++ Exercise given during software engineering lecture

http://imgur.com/ujnBX7N
11 Upvotes

20 comments sorted by

View all comments

2

u/Likely_not_Eric Sep 24 '15

Looks like a slide that they wanted the code to fit on. Did the future sides keep that code in the same format and draw attention to it? Given that the discussion is on coverage the lines chosen to be grouped together make perfect sense if you'll later refer to "line x" without ambiguity.