Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjmorris
on Oct 18, 2013
|
parent
|
context
|
favorite
| on:
Show HN: My Turbo Pascal compiler in JavaScript
Boy, does that bring back memories. Turbo Pascal was just plain wonderful software. As for Pascal, I never got over the array length being part of the array's type.
MilesTeg
on Oct 19, 2013
|
next
[–]
I remember you could define an array to be indexed by an enumerated type which was nice. I haven't seen that done elsewhere.
pjmlp
on Oct 19, 2013
|
parent
|
next
[–]
At least in Ada, Modula-2, Modula-3 it is also possible.
lkesteloot
on Oct 18, 2013
|
prev
[–]
Isn't that crazy? You can't write a generic integer array sort routine!
vidarh
on Oct 19, 2013
|
parent
[–]
Actually you could, by using GetMem() to allocate the amount of space you wanted.
pjmorris
on Oct 19, 2013
|
root
|
parent
[–]
In other words, 'Write in C' :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: