From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8be18979db11f51c X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,fb631c9316319fef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-02-28 08:48:01 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newspeer.cwnet.com!sjc1.nntp.concentric.net!newsfeed.concentric.net!global-news-master From: "Rick Cadruvi" Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Drop C/C++ better sooner than later Date: 28 Feb 2001 16:42:11 GMT Organization: Concentric Internet Services Message-ID: <97j9p3$ppc@dispatch.concentric.net> References: <97cd06$hcn$1@pyrite.mv.net> <97egck$vc6$3@info.cs.uofs.edu> <3A9AEFCD.AFC8431@infopuls.com> <97etsu$j41$1@pyrite.mv.net> <3A9B023A.CBD414A5@infopuls.com> <3A9C2B88.8032D829@infopuls.com> <97j1jq$g00$1@info.cs.uofs.edu> <3A9CC5DF.4A94AD04@hiyall.zko.dec.com> NNTP-Posting-Host: 64.0.157.124 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.os.vms:20535 comp.sys.dec:2917 > However, even with just going forward, I don't like BREAK since the > reader of the code doesn't know where the BREAK will go. Sure, you can > look and 'guess', but only the compiler knows for sure. And adding > another level of BEGIN/END makes you go and visit all the enclosed > BREAKs and increment their "level". True. Sometimes you create new problems when trying to solve an existing problem. However, through careful indentation of my code BEGIN/ENDs I can make it obvious where the BREAK ends up at. Obviously a language construct that eliminates this is better. My point is just that I could write simpler and therefore better code with this notion. > > Thats why I actually like forward GOTOs. You get to name and SEE the > label in the source code. > > BLISS has a LEAVE statement and named-block. You give a name to block > and say LEAVE with that name. Its always a forward branch and you don't > have to worry about other BEGIN/ENDs being added. Exactly. I rarely use this feature in BLISS, but when I do want it, it works well. However, you still have to locate the correct BEGIN/END as in the BREAK # case. I'm not sure I see how this is entirely different. Rick...