Comment by UltraSane Comment by UltraSane 2 days ago 2 replies Copy Link View on Hacker News Because a language happily letting you try to access an array index far past its end isn't stupid at all.
Copy Link otabdeveloper4 a day ago Collapse Comment - If this was a real problem then you could have just `s/[]/at()/g` across your codebase and called it a day.But you all don't even bother to do that, so I guess it's not actually a problem in practice. Reply View | 1 reply Copy Link UltraSane a day ago Parent Collapse Comment - C doesn't have any protection for accessing out of bounds. It does zero bounds checking behind the scenes. Which is actually really, REALLY stupid. And when all computers are connected to the internet this is disastrous. Reply View | 0 replies
Copy Link UltraSane a day ago Parent Collapse Comment - C doesn't have any protection for accessing out of bounds. It does zero bounds checking behind the scenes. Which is actually really, REALLY stupid. And when all computers are connected to the internet this is disastrous. Reply View | 0 replies
If this was a real problem then you could have just `s/[]/at()/g` across your codebase and called it a day.
But you all don't even bother to do that, so I guess it's not actually a problem in practice.