Yeah, that’s basically the kind of logic you use when designing a low-level programming language: If we didn’t define what happens here then anything that happens is correct behavior and it’s up to the user to avoid it.
Of course applying that logic to a GUI application intended for a comparatively nontechnical audience is utter madness.
That’s the kind of logic people historically used when designing low level programming languages. It’s not the kind of logic you should use or that people nowadays usually do use. Undefined behavior is widely seen as a Bad Thing in the programming language design community.
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.
Yeah, that’s basically the kind of logic you use when designing a low-level programming language: If we didn’t define what happens here then anything that happens is correct behavior and it’s up to the user to avoid it.
Of course applying that logic to a GUI application intended for a comparatively nontechnical audience is utter madness.
That is the type of thinking that causes a massive amount of CVEs in those languages.
That’s the kind of logic people historically used when designing low level programming languages. It’s not the kind of logic you should use or that people nowadays usually do use. Undefined behavior is widely seen as a Bad Thing in the programming language design community.
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.