Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Goto in C (Score 1) 674

I've used goto in C against better judgement when implementing a key derivation algorithm from an ANSI standard. The algorithm was described using some horrible spaghetti pseudo code with goto jumps between code sections which made it impossible to break it up in neat functions. I ended up writing it all as one big function with the goto's and everything. It works and is still used 10 years later, but I get to explain myself every time that function goes through a code review.

Slashdot Top Deals

I don't do it for the money. -- Donald Trump, Art of the Deal

Working...