[fpc-pascal] Managed record questions

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Mar 8 21:55:15 CET 2018


On 2018-03-08 03:13, Ryan Joseph wrote:
> So in the trunk we have managed records now which is a brilliant
> addition and long overdue. Some questions these bring up:


My first question....
      What is a managed record?

My second question....
      Why would I need it?

My third question.....
      What is different compared to a "normal record"
      and compared to FPC's Object data type. eg:  TSomeObject = object;


Or is this all about trying to follow Delphi again because they broke 
the Object Pascal "Object" type and then reintroduced that same 
functionality (because EMBT developers are id**ts these days) using 
Records, and magically called it "advanced records". aka Objects - what 
Turbo Pascal 7 had.

I'm getting seriously worried about where the Object Pascal language is 
heading. It used to be a clean and logical language. Now other languages 
look the part much better than Object Pascal.

Regards,
   Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list