<p>Am 25.08.2014 13:50 schrieb "Marco van de Voort" <<a href="mailto:marcov@stack.nl">marcov@stack.nl</a>>:<br>
><br>
> In our previous episode, Sven Barth said:<br>
> > >> Oh I see now. The old "object" style used in turbo pascal!<br>
> > >><br>
> > > Your original question was about TObject.<br>
> > ><br>
> > > AFAIK, old style TP "Object" is depreciated and usually can be replaced<br>
> > by records containing methods.<br>
> ><br>
> > It is *not* deprecated.<br>
><br>
> It was flagged as one of the constructs to be removed from the Delphi<br>
> "Nextgen" compiler. But that was all "looking at".</p>
<p>In Delphi they are to be considered deprecated for a long time already. But I don't care about that as I'm a FPC developer where they aren't deprecated...</p>
<p>><br>
> Afaik the mobile compiler is the fruit of that<br>
> project, but I don't have it, haven't tested it, so I don't know if<br>
><br>
> > At least not in FPC. Also unlike records it<br>
> > supports inheritance.<br>
><br>
> Limited use without dynamic instantiation.</p>
<p>I wouldn't say that. Even without dynamic instantiation it would at least allow for reduced amount of code for structures that share some fields and thus maybe logic...</p>
<p>Regards,<br>
Sven</p>