Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!elroy.jpl.nasa.gov!jarthur!uunet!news.uu.net!mcsun!hp4nl!ktibv!rdb From: rdb@ktibv.uucp (Rob den Braasem) Newsgroups: comp.lang.fortran Subject: Re: A Question of Style Message-ID: <1991May22.093547.229@ktibv.uucp> Date: 22 May 91 09:35:47 GMT References: <12306@uwm.edu> <1991May21.140440.16964@m.cs.uiuc.edu> <1991May21.180713.1602@unixg.ubc.ca> Organization: KTI_BV Lines: 38 buckland@ucs.ubc.ca (Tony Buckland) writes: > There are a few people around (I'm not one of them, but I will > defend, although not entirely to the death, their right to be > themselves) who put labels on statements just as markers, with > no intention of ever referencing them. The technique can serve > as a way of locating all statements belonging to some class > defined in the programmer's head, or as a way of delineating > program segments, or as a labelling of statements you intend > to reference one day, or as a labelling of drop-through > statements for computed GOTOs. Et cetera. Just my fl 0.036 worth. Labels that are never referenced are the death of the programmer who has to maintain the bloody code. I know , because I had to maintain code like that. SHOOT the user of computed GOTO. INTENT TO USE ONE DAY ???? Label them on the day you need them, not before. CLASS IN THE PROGRAMMERS HEAD??? Should be clear from the comments. I agree to the fact that you should be able to switch it off. ---------------------- Happy Hacking "PABRAS" ----------------------------------------------------------------------------- | Rob den Braasem | "Before I sink into the big | Voice :-31-79-531825 | | | sleep, I want to hear the | Fax :-31-79-513561 | | | scream of the butterfly." | Mail : | | "PABRAS" | J. Morrison | ....!hp4nl!ktibv!rdb | | KTI bv |-------------------------------| ---------------------| | P.O. Box 86 | " We got to get out of this place, even if it is the | | 2700 AB Zoetermeer | last thing we will ever do. " | | The Netherlands | Animals. | -----------------------------------------------------------------------------