Crappy Code 1: Goto Hell!

Recently I found this little jewel in some commercial UI plug-in for the Unity3D engine:

Now don’t tell me you couldn’t do this in any other way, knowing that the Invoke jump label isn’t used anywhere else.

Fun fact: Visual Studio doesn’t even know how to deal with that – Find All References of Invoke returns a stumped “Search found no results.” 😉

Author: npruehs

Nick Pruehs is a Co-Founder of Slash Games, Hamburg. In 2009, he graduated as “Best Bachelor” in computer science at Kiel University. Two years later Nick finished his master’s degree in “Sound, Vision, Games” at Hamburg University of Applied Sciences, becoming the Lead Programmer of Daedalic Entertainment shortly after.

Questions? Comments? Suggestions? Your turn! :)