Isn't answering to a message not enough?

Like #nbStruc #ormTableName etc.

Pragmas are somehow orthogonal to the common message sending and method
lookup.


Esteban A. Maringolo


2013/9/12 Igor Stasenko <siguc...@gmail.com>

>
>
>
> On 12 September 2013 13:56, Torsten Bergmann <asta...@gmx.de> wrote:
>
>> We can mark methods with pragmas and ask the pragma collector
>> to give the methods marked with it.
>>
>> Do we (already) have some kind of pragma like mechanism to annotate
>> classes? I mean a general mechanism that one can use to mark classes
>> with pragmas/settings/ ...?
>>
>> There are various scenarios where this might be useful:
>>   - an ORM mapper would like to associate a persistence class with a
>> table name
>>   - an NBExternalStructure subclass wrapping a structure can be annotated
>> with
>>     the original struct name
>>   - ...
>>
>>
> Why so complicated (e.g. pragmas) ? Just add one more inst var , like
> 'annotation' for Class object
> and you have it.
>
>
>> Thx
>> T.
>>
>>
>>
>
>
> --
> Best regards,
> Igor Stasenko.
>

Reply via email to