4 ms·
Nothing like taking raw data off of the network, unchecked, and passing it to malloc(). I used to work with a programmer who never wrote bounds checking or err
by adekok 11y ago
Nothing like taking raw data off of the network, unchecked, and passing it to malloc().
I used to work with a programmer who never wrote bounds checking or error checking code. You could pass his programs anything and they'd do something. Something unexpected, to be sure... but they're do something, and never give a hint that things were going wrong.
In my opinion, GIGO is for idiots. If your program gets garbage in, it should complain loudly and refuse to do anything stupid.
- 50CNT 11y agoUnless you're dealing with interfaces towards squishy components, in which case leniency reigns supreme. Last thing I want is my email program to discard what I wrote because there is a typo in it.
- deleted 11y ago[deleted]