39
The1nk
8y

I had no idea you could use GOTO in C#. This changes everything!

Comments
  • 3
    @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. 😔
  • 1
  • 3
    A lot of languages still have goto. Brings back QBasic memories...
  • 5
    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!
  • 9
  • 1
    @tisaconundrum gotta love that xkcd
  • 3
    Goto is piece of shit high lvl jump statement!
  • 2
    Goto should be forbidden and removed. :)
  • 1
    Can you guys be bothered to explain what GOTO is and why it is so bad?
  • 2
    @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)
Add Comment