Hacker News new | ask | show | jobs
by TimJYoung 3806 days ago
Those arguments are very old. Modern Object Pascal, (around since the mid 90's) has dynamic arrays that are used now instead of the old static arrays with hard-coded bounds. The only time that you use static arrays now is if you truly need a bounded array, such as when calling into an API call that has MAX_PATH or something similar as the bounds and you need a character buffer for a return argument. This also applies to strings, which are now also dynamic and reference-counted, and not some fixed buffer that is 255 bytes in length. You can still use most of the old stuff because the language is very backwards-compatible, but most people don't.
1 comments

Pascal had already failed to take off by the mid 90s, as I recall, so the damage had been done.
No, Turbo Pascal was very successful, and its successor, Delphi, was wildly successful on Windows (Delphi was first released in 1996). It only started to falter in 2003-04 when Borland decided it wanted to be an enterprise Java company (???) and Anders Hejlsberg, the chief Delphi architect, left to go to Microsoft, where he was the chief architect for C# for .Net, and now works on TypeScript.