4 ms·
Using bad programming languages, honestly. Most security problems boil down to type errors, but it's poor language choice that leads to making those.
by lmm 10y ago
Using bad programming languages, honestly. Most security problems boil down to type errors, but it's poor language choice that leads to making those.
- ravenstine 10y agoWhat's an example of a bad programming language?
- lmm 10y agoI didn't want to say, as most languages have their fans. But anything missing the features ML had; any language with null, without memory safety checking, without sum types and pattern matching, without type safety or generics (really any language without HKT, though I guess you don't need it for small programs).
- Bladtman 10y agoThose that aren't "strict" in certain areas. Examples: * Those without memory management (I'm not talking about garbage collection, though there seems to be a correlation). Buffer overflows/overruns and its cousins have caused many security flaws, including heartbeat and even flaws in java, where it interops with C programs for performance's sake. * Syntactical leniency wrt. scope can lead to errors like apple's infamous "goto fail"