On 24.09.2015 13:25, Christophe Bal wrote: > Can you give an example where GOTO is useful ?
I think those pieces of code are best understood with some humour.. However, basically I can think two main causes for using goto: 1. Stop whatever your code is doing and jump towards the end of the program. However, this is mainly something useful for languages without exception handling and garbage collection. 2. Get out of something deeply nested. Also, this probably isn't very useful in Python as there's exception handling. Best Alex
signature.asc
Description: OpenPGP digital signature
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion