26 Mar 2007 at 07:21 #1 MrSeanKon MrSeanKon Permabanned Joined 15 Nov 2006 Posts 164 Location Visit Athens Do you use the goto statement? OK the Fortran programmers of course yes! But the others (C, Basic) etc.... IMHO it is useful sometimes. Anyway what's your opinion? Last edited: 29 Mar 2007
Do you use the goto statement? OK the Fortran programmers of course yes! But the others (C, Basic) etc.... IMHO it is useful sometimes. Anyway what's your opinion?
26 Mar 2007 at 09:54 #4 MrSeanKon MrSeanKon Permabanned OP Joined 15 Nov 2006 Posts 164 Location Visit Athens Interesting link NathanE! Personally I avoid long jumps (I program in C#). I use it (very rare) inside of for loops.
Interesting link NathanE! Personally I avoid long jumps (I program in C#). I use it (very rare) inside of for loops.
29 Mar 2007 at 09:59 #31 MrSeanKon MrSeanKon Permabanned OP Joined 15 Nov 2006 Posts 164 Location Visit Athens NathanE said: Use the "break" statement To exit from nested loops use a boolean flag and conditionals on the loop conditions. Click to expand... the break statement is a variation of goto IMHO.
NathanE said: Use the "break" statement To exit from nested loops use a boolean flag and conditionals on the loop conditions. Click to expand... the break statement is a variation of goto IMHO.
6 Apr 2007 at 13:48 #41 MrSeanKon MrSeanKon Permabanned OP Joined 15 Nov 2006 Posts 164 Location Visit Athens xyphic said: The problem with goto is that while it's useful in certain circumstances, it needs to be used *very* carefully. Click to expand... I agree. Imagine weapons! Useful but kill!
xyphic said: The problem with goto is that while it's useful in certain circumstances, it needs to be used *very* carefully. Click to expand... I agree. Imagine weapons! Useful but kill!