Please create an account to participate in the Slashdot moderation system

 



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

The sooner you make your first 5000 mistakes, the sooner you will be able to correct them. -- Nicolaides

Working...