Had a good chuckle reading through the comments. Although, perhaps you should have posted this as a "share the worst single function snippet you have of a working program", now I imagine those comments would be quite something.. Lol.
Haha yeah agreed, that is a more accurate description of what I want :D
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.