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

 



Forgot your password?
typodupeerror
×

Comment Re:But... (Score 1) 261

But if you're actually trying to understand what an author is saying, and there's this word popping up a dozen times that you don't know, simply guessing what it means is missing an opportunity to learn something.

Or, you know, you could actually think about what you're reading and deduce the definition of the word from the context.

Comment Re:It's GOTOs all the way down (Score 1) 677

You're kinda entirely missing the point of structured programming. In your other examples, the goto is constrained. The return statement is a goto back to the call of the function. The if statement is a goto to either the inside of the block or the end of the block.

What Dijkstra was complaining about was unrestricted gotos. If you can goto anywhere in the code willy-nilly then it becomes much harder for someone reading your code to follow your logic. And it becomes much harder for you to follow your own logic when you inevitably have to come back to the code a year later.

Slashdot Top Deals

Understanding is always the understanding of a smaller problem in relation to a bigger problem. -- P.D. Ouspensky

Working...