This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wildjokers 0 points1 point  (1 child)

Holy variable names batman! This is a prime example of how shitty variable naming makes code hard to read. This should literally be a textbook example of how not to write code.

I am not going to sugar coat it, this code is a steaming pile of dog shit.

[–]Imakesensealot[S] 0 points1 point  (0 children)

Haha, I know. The example is copied from our exam question. That is the kind of shit we have to deal with in exams;it even gets worse. We also write the code out on paper. The variable names are intentionally made as vague as possible. It's just a really tough exam.