A Method Gone Too Far
by in Representative Line on 2013-11-21The submitter of the below code, who chooses to remain Anonymous, recently started a job at a social media company as a software engineer. Seeing that they had never had anyone dedicated to their iOS product before, apparently they were quite excited.
Unfortunately for our submitter, the codebase is the stuff of nightmares - ternary operators stacked five deep on a single line, etc. There are no model objects, so they just pass around lots of dictionaries and strings thusly: