Which will probably be never.

  • nexussapphire@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    If it’s going to compile without any warnings I’d rather the app crash rather than continue execution with rogue values as it does now.

    There is so much room for things like corrupted files or undocumented behavior until it crashes. Without the compiler babysitting you it’s a lot easier to find broken variables when they don’t point to garbage.

    • zaphod@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Just enable all compiler warnings (and disable the ones you don’t care about), a good C compiler can tell you about using unassigned variables.