Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
codezero
· 10y ago · 0 comments
Making it illegal to write code without bounds checking is an interesting and fun concept to imagine.
Comments
[–]
masklinn
10y ago
Why? That's how the vast majority of modern languages work. You can't opt out of bounds checking in Java or Python.
[–]
outworlder
10y ago
Yes, but they now opt out of other things. Such as nullable variable references.
[–]
codezero
OP
10y ago
I was thinking of it more playfully – what would this legislation look like, how would it affect productivity of engineers, it's a curiosity, I don't actually have any stake in it happening.