Path: utzoo!utgpu!water!watmath!gamiddleton From: gamiddleton@watmath.waterloo.edu (Guy Middleton) Newsgroups: comp.lang.c Subject: Re: The D Programming Language Message-ID: <17154@watmath.waterloo.edu> Date: 29 Feb 88 18:27:07 GMT References: <11702@brl-adm.ARPA> <243@eagle_snax.UUCP> <2245@geac.UUCP> <24935@cca.CCA.COM> <703@cresswell.quintus.UUCP> <24996@cca.CCA.COM> Reply-To: gamiddleton@watmath.waterloo.edu (Guy Middleton) Organization: University of Waterloo [MFCF/ICR] Lines: 19 In article <24996@cca.CCA.COM> g-rh@CCA.CCA.COM.UUCP (Richard Harter) writes: > In article <703@cresswell.quintus.UUCP> ok@quintus.UUCP (Richard A. O'Keefe) writes: > >In article <24935@cca.CCA.COM>, g-rh@cca.CCA.COM (Richard Harter) writes: > >> Here is an alternative to endif et al. Use labels to start blocks and > >> 'end labels' to end them.... > > >He has just re-invented BCPL. There is another thing that should be reintroduced: case ranges in switch statements. These were part of B (although they were not in BCPL): switch (x) { case <0: /* ... */ break; case 0::10: /* ... */ break; case >10: /* ... */ default: }