CompuServe Messages

Stack size calc

#: 131800 S10/ProgrammingForum unknown
    25-Jun-88 14:27:09
Sb: #131531-Stack size calc
Fm: Vic Wagner 76046,3004
To: John Draper 76703,4322

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

If the upwards growing data stacks in BCPL were a problem, it was only because of illiterate C programmers not understanding that there are other possibilities than were apparent to the kids who invented the C language. I find it ludicrous that in C the expression: (a=getc(), b=getc(), c=getc()) does one thing if used in a regular statement, and may do another if used as an argument list to a function. This is an example of not thinking things through and one of Cs bigger mistakes. I note that it is not addressed in the ANSI standard either, there is too much poor C written already which must still be compilable with the new compilers.