15 ms·
Really? Not trying to be derisive, just surprised. One of the common paradigms in C is GOTO for cleanup and error handling. I know it can be avoided if you real
by jacoblambda 6y ago
Really? Not trying to be derisive, just surprised. One of the common paradigms in C is GOTO for cleanup and error handling. I know it can be avoided if you really try however when used correctly, it can greatly improve the readability of code.
- sjburt 6y agoC gotos are scoped to the function, making them fairly reasonable to use. COBOL and FORTRAN have global gotos.
- lonelappde 6y agoReal programmers use INTERCAL's COME FROM
- jacoblambda 6y agoOh lord, it's been a while since the last time I've heard someone mention INTERCAL.
- WorldMaker 6y agoThat language with no pronounceable acronym remains an important teaching tool for programming language learning and design.