2 ms·
I probably should have qualified that with "widely used". :) On the other hand this list is to some extent relevant to the point I was trying to make, as most
by dfox 9y ago
I probably should have qualified that with "widely used". :)
On the other hand this list is to some extent relevant to the point I was trying to make, as most of these languages are somehow related to Algol/Simula/Modula (as is C++) and not to Lisp/Smalltalk (as is Java, Python, .net...).
Object Pascal has the problem that there are at least two unrelated languages with same name. And the duffernce between Borland Pascal 7 and the Object Pascal used by Delphi is that the latter is firmly in the camp "there are only references to objects". (ie. for classes defined by 'object' keyword common pattern was "PFoo = ^TFoo", while for the 'class' ones, eg. essentially whole VCL, this is implicit)
- pjmlp 9y agoActually there a few unrelated Object Pascal languages, the language features from Turbo Pascal, introduced on version 5.5 for MS-DOS, were copied from Apple's Object Pascal. Then there is FreePascal with its compatibility modes and own extensions. The object keyword is still accepted in Delphi, even if they don't recommend it any longer. Also a few languages implicitly deference pointers as references, depending on the context.