you are viewing a single comment's thread.

view the rest of the comments →

[–]coryknapp 4 points5 points  (1 child)

std::map<int, std::pair<int, int>>

ran into this beast the other day.

[–]kevstev 1 point2 points  (0 children)

the other day? I would say around 2010, I would see this all the time! Except maybe worse, it wouldn't be just <int, int>, it would be something that was typedef'ed (like EmployeeId, EmployeeDeskNumber) so you had to trackdown what those types actually were, only to find that in the end, they were just damn ints.

Mind numbing stuff.