Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
TheRealKing
· 1y ago · 0 comments
I strongly disagree. Arbitrary bounds are tremendously helpful in dealing with arrays whose starting point must be offset.
Comments
[–]
pklausler
1y ago
I didn't say that they were not helpful; I said they have dangerous pitfalls. Also, they're not perfectly portable. My testing shows that only two compilers get lower bounds right in all the tricky cases that I know of.