As you know, Borland lost interest in their developer tools and passed them to another company.
It is good to see that Delphi is still alive, but I think it should be compatible with Free Pascal dialect, or at least recognize FPC code and provide a means to use FPC units.
It may be difficult to persuade authors of Delphi to directly support mode ObjFPC code.
FPC is an open source compiler and freely available for many platforms. It is also well maintained, so it will continue to be commonly used by Pascal programmers. For this reason FPC 3.0 dialect may be published as an ISO standard. After that, Delphi can recognize FPC code as ISO standard code.
Of course, IDE and OS specific elements, such as published property, should be eliminated.
I think it is a good time to make an ISO standard for Object Pascal language.
The chance that Embarcadero or its current owners implement mode objfpc is also near zero, so I wouldn't bother with a standarization process, since current delphi doesn't support any standard to begin with.
Personally, I think the objfpc is pointless. I always use mode delphi with FPC and then the issue is moot.
One of Delphi's (and FreePascal's) strengths is that their Pascal dialects are NOT standardized, so the compiler vendors can freely, easily, and quickly change the language as they see fit for their needs. Standardization makes it harder and slower to make changes when needed.
Quote from: marcov on April 20, 2017, 04:42:26 pmThe chance that Embarcadero or its current owners implement mode objfpc is also near zero, so I wouldn't bother with a standarization process, since current delphi doesn't support any standard to begin with.Without standardization, how are we supposed to write Pascal programs?
For an experienced Pascal programmer it is obvious, but what about a new programmer? Delphi has a fame, FPC is available to everyone.
FPC should step forward as the authority of Object Pascal language. FPC code is valid Pascal code. More specifically, code written in mode ObjFPC is valid Pascal code.
You seem to not care about it just because your code compiles. But if you wrote your program in mode Delphi, it is not a valid Pascal program. Delphi is not a Pascal programming environment, but it may choose to become so. Unless it becomes an FPC-clone, we won't bother with Delphi.
How a language can change so frequently? Object Pascal is just some extensions to standard Pascal. Frameworks may change frequently, this doesn't mean that language will change. To elaborate:
Now, how much TObject can change?
You can check this draft document to have an idea of how an official standard could be:http://www.pascal-central.com/OOE-stds.html