Y
Hacker News
new
|
ask
|
show
|
jobs
by
jevinskie
4842 days ago
I was very impressed when I found out that Pascal supports subrange types (that is types with custom, user-defined ranges). I had only seen it in VHDL / Ada before, where I found it to be very useful.
1 comments
nestoras
4842 days ago
Yes, that has been a feature of the original Pascal design, since the 1970s. Very useful for catching out of range errors.
link