Which will probably be never.

  • zaphod@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    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.

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

      Still learning, they just covered compiler flags in cs. They didn’t go into detail yet though.

      Edit: I’ve used python for years and they have something equally dumb. You can have a function in a massive application that is broken and the moment it’s called, the application crashes.

      At any other point the application will just run as if nothing is wrong even though python evaluates everything at runtime. I’m sure they can’t do much because the initial launch would be slow.