breaking out of multiple nested loops

K

Kaz Kylheku

I remember driving in Germany where the Autobahn exits are given names
related to the locality instead of being numbered sequentially.

Which means that you have no idea when approaching an exit whether you've
missed your exit, or there's still some way to go.

Now /there/ is an argument for using numbers instead of symbols!

We should use offsets into a stack instead of symbolic local variables,
too. You never know when you might blow past a variable, and then have
to take a u-turn at the next frame to return there.

If they are numbered, you know that if you're at offset 44,
you failed to get off at the variable at offset 40.

Not a week goes by that this newsgroup doesn't satisfy a craving for a
good analogy.
 
N

Nick Keighley

I remember driving in Germany where the Autobahn exits are given names
related to the locality instead of being numbered sequentially.

and it was usually called Ausgang. Numbers are handy because you don't
often add new exits. "Exit 11(a)" "Exit 11.1"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top