• Jesus_666@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 days ago

    Oh, don’t get me wrong, I fully agree. Undefined behavior is terrible UX and a huge security risk.

    Undefined behavior was kind of okay when RAM and storage were measured in kilobytes and adding checks for this stuff was noticeably expensive. That time has passed, though, and modern developers have no business thinking like that, even ones working on low-level languages.

    I should’ve phrased my comment differently.