Vote UpVote

On the future Delphi type system

The Programming Works – Recent post by Allen Bauer announced that some future Delphi release will introduce “rooted” type system so that every type will be derived from TObject. It does not mean that plain old types like Integer will actually be implemented as TObject descendants. As far as I could understand code like this Var I: LongInt; ... I:= 2; I:= I * 4; ... will treat the variable I as a plain 32-bit value as before, but code like this Var I: LongInt; S: string; ... I:= 2; S:= I.ToString; ... will probably create a “wrapper” object for integer type internally to implement ToString ...
Favorite? Off-Topic? Serg @ 2013-07-04 05:46


Visits: 1424
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)