TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: LAURI NURMI
from: BALOG PAL
date: 1997-10-21 22:43:00
subject: GOTO - ??

                              Hi, Lauri Nurmi!
On 15 Oct 97  16:22:14 you wrote to Andrew Weaver
 LN> It's just "label:", but it's not a good idea to use goto.
And why? :)
Well, C++ is quite well armored, so you have tools to avoid goto in common
situations you better use it in C.  Objects will do the appropriate cleanup.
But even C++ has no tools to break multiple constructs. (More painly there's
no multiple returns that is even harder to handle.)
Paul
... Caches to caches, DOS to DOS...
--- GNU/Linux
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.