[TUHS] Comments on "C"

Noel Chiappa jnc at mercury.lcs.mit.edu
Thu Sep 8 23:30:38 AEST 2016


    > From: Blake McBride

    > After about 30 years of C, there are only three things I would have
    > liked to see:

    > 1.  Computed goto

Can't you make a switch statement do what you need there? 

The two things I really missed were:

- BCPL's ValOf/ResultIs, for making more complex macros (although with the
	latest modern compilers, which inline small functions, this is less
	of an issue)
- The ability to 'break' out of more than one level of nesting; one either
	has to stand on one's head (code-wise), or use a goto

	Noel


More information about the TUHS mailing list