[fpc-pascal] mode switch madness

Jonas Maebe jonas at freepascal.org
Sun Apr 14 17:41:47 CEST 2019


On 14/04/2019 17:03, Ryan Joseph wrote:
> 
> 
>> On Apr 13, 2019, at 10:07 PM, Ben Grasset <operator97 at gmail.com> wrote:
>>
>> E.G, I sincerely doubt that anybody has *ever* thought, "man, I sure am glad that {$mode ObjFPC} does not allowed advanced records. It would be specifically bad if it did!" because it just doesn't matter if they weren't using advanced records to start with. It's just a lot of minor rules that nobody can really explain but that tend to add up in relatively annoying ways.
>>
> 
> I like what Jonas did for the ObjC mode switch where he named them with versions.

That was because Apple did the same with the Objective-C language: 
https://en.wikipedia.org/wiki/Objective-C#Objective-C_2.0 :)


Jonas



More information about the fpc-pascal mailing list