[TUHS] I can't drive 55: "GOTO considered harmful" 55th anniversary

Dan Cross crossd at gmail.com
Mon Mar 13 22:19:39 AEST 2023


On Mon, Mar 13, 2023 at 6:41 AM Alejandro Colomar (man-pages)
<alx.manpages at gmail.com> wrote:
> Or you can ask GCC to respect your view of the language with things like -fno-strict-aliasing, -fwrapv, and -fno-trapv.

The problem that is that you are then no longer programming in "C",
but rather some dialect of "C" that happens to share the same syntax,
but with different semantics. That may be fine, or it may not, but it
can lead to all sorts of footgun traps if one is not careful.

        - Dan C.


More information about the TUHS mailing list