3 ms·
It's a shame that Pascal was largely abandoned (except for Delphi, which lived on for a while); I believe several Pascal compilers supported array bounds checki
by musicale 3y ago
It's a shame that Pascal was largely abandoned (except for Delphi, which lived on for a while); I believe several Pascal compilers supported array bounds checking, and strings with a length field. In the 1980s this may have been considered overly costly (and perhaps it is considered so today as well), but the alternative that the computing field and industry picked was C, where unbounded arrays and strings were a common source of buffer overflow errors. Cleaning this up has taken decades and we still probably aren't done.
Better C/C++ compilers and libraries can help, but the original C language and standard library were certainly part of the issue. Java and JavaScript (etc.) may have their issues but at least chasing down pointer errors usually isn't one of them.
- dragonwriter 3y agoThe industry picked C when Pascal was still widely supported, not as a result of it being abandoned.
- pjmlp 3y agoA side effect of UNIX adoption, C already being in the box, whereas anything else would cost money, and no famous dialect (Object Pascal, VMS Pascal, Solaris Pascal, UCSD Pascal) being portable. Unfortunately Pascal only mattered to legions of Mac and PC developers.
- musicale 3y agoPicking C == abandoning Pascal (which had been commonly used for Mac and PC development.)
- pjmlp 3y agoDelphi still lives on, to the extent that there is enough people to sell conference tickets in Germany, and a new release came out last month.
- Scea91 3y agoMy father celebrated 60 two weeks back and told me he bought license for new Delphi and loves it, I was quite surprised with the development he described. I considered telling him that he could get most of the things (he also buys various components) for free today, but then.. he is about 5 years before retirement and won't relearn all his craft now. Myself, I am not sure whether its nostalgia but I miss the experience of Delphi 7 I started with 20 years back. In many ways, the simplicity of VLC and the interface is still unbeaten.
- CRConrad 3y ago> My father celebrated 60 two weeks back So about three months my senior. > I considered telling him that he could get most of the things (he also buys various components) for free today, but then.. he is about 5 years before retirement and won't relearn all his craft now. Free Pascal / Lazarus shouldn't be all that much to relearn. > Myself, I am not sure whether its nostalgia but I miss the experience of Delphi 7 I started with 20 years back. Delphi 1, 28 years now. > In many ways, the simplicity of VLC and the interface is still unbeaten. 1) Yup. 2) VCL, btw. 3) Now that Embarcadero is hiking up the price of Delphi with every release, I think the standard-bearer for best librry / framework is probably the LCL, the Lazarus Component Library.
- Scea91 3y agoThanks for the tips regarding Lazarus and LCL I will share them next time we meet.