On Mon, Sep 30, 2024 at 3:12 PM Steffen Nurpmeso <steffen@sdaoden.eu> wrote
noone ever told them that even the eldest C can be used in a safe
way;
 
Perhaps we have different meanings of the word safe.

    void foo(char *p) { /* interesting stuff here */ ; free(p); }
    void bar() { char *p = malloc(20);
        foo(p);
        printf("foo is %s\n", p);
        foo(p);
    }
Why should I have to think about this code when the language already knows what is wrong.