[Lazarus] List the procedures of a object.

Michael Van Canneyt michael at freepascal.org
Tue Mar 27 21:35:20 CEST 2012



On Tue, 27 Mar 2012, Marco van de Voort wrote:

> On Tue, Mar 27, 2012 at 09:00:07PM +0200, Michael Van Canneyt wrote:
>>>
>>> 2010 actually. And since this list has been _very_ sensitive about bloat
>>> recently, I would not even dare to suggest that way ;-)
>>
>> I would.
>>
>> Under command of some switch, of course, it surely would come in handy.
>>
>> The rtti unit they made for it is of course totally convoluted, but the idea
>> to be able to use introspection on all aspects of a class is definitely useful
>> and would make RPC frameworks a breeze.
>
> That's roughly my opinion too, after a short read-up during D2010 times.
> Never enable it globally only for certain classes in frameworks that benefit
> from it.  Haven't really used it yet though.

Well, I am using it - I'm exposing a JSON RPC through it.

The 'only for certain classes' is my point of view as well.

It would only be necessary for the classes that get exposed as data, and the interfaces.

Michael.




More information about the Lazarus mailing list