Y
Hacker News
new
|
ask
|
show
|
jobs
by
berkut
3459 days ago
How can checks be done if the size is dynamic based on run-time data?
1 comments
prodigal_erik
3458 days ago
"Integer between 0 and n-1 inclusive" is the type of valid indices for an n element array. The trouble is most languages don't have type systems that allow expressing that.
link
pjmlp
3456 days ago
The Pascal family are such languages.
link