Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
The1nk1529y@g-m-f that's exactly how I felt when my boss told me I inherited this code, and flipping through it and find that. 😔 -
I wasn't even bothered by the goto.
Handling error inside a try block, now that's classy shit.
You, sir, has found a gem! -
@vringar just google it. I can give you example, i was coding in c for my academic work. I was forced to use goto in one place.. So i used it. Next thing i know the complexity of that code became n^3 my code wasn't working as ecpected. It is just shit thing until unless you are using it in lower level language(jmp statements)
Related Rants

How do you even come up with shit like this?
I found such a treasure today in the production code.
I had no idea you could use GOTO in C#. This changes everything!
undefined
c#
gamechanger
goto