Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I remember you could define an array to be indexed by an enumerated type which was nice. I haven't seen that done elsewhere.


At least in Ada, Modula-2, Modula-3 it is also possible.


Isn't that crazy? You can't write a generic integer array sort routine!


Actually you could, by using GetMem() to allocate the amount of space you wanted.


In other words, 'Write in C' :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: