r/shittyprogramming • • Mar 28 '15

Real men hard-code their JSON

Post image
372 Upvotes

28 comments sorted by

View all comments

2

u/RenaKunisaki Mar 28 '15

Looks like they wanted to output those fields and only those fields, and couldn't be arsed to put the field list in an array for some reason.

4

u/tyteen4a03 Mar 28 '15

The array passed into the function contains exactly these fields.

They were shitty coders.