[squeak-dev] Re: Pragma support in Squeak/Pharo/Cuis

Juan Vuletich juan at jvuletich.org
Fri Jan 28 20:00:22 UTC 2011


Igor Stasenko wrote:
>
> Anything which included in source code is "an instruction to the
> compiler to do something", otherwise there is no reason and no sense
> of putting it there.
> The difference lies in the who and what exactly "something" it should do.
> Since pragmas and annotations having same context and same syntax ,
> except that they differ
> in "do something" part, there is not much difference in reality,
> especially if you take into account a reflective nature
> of smalltalk system, where tools can observe the various properties of
> objects (such as compiled methods) and
> decide what to do based of their behavior/state/whatever.
>
> So, even if <something> doesn't looks like a pragma (an instruction)
> for you or your compiler,
> it could mean a lot for other tools. Does that makes it to be less
> 'pragmatic' just because its not instruction to compiler but to
> some other  tool? I don't think so.
> The <wikiStyleHelp: 'My Book'>  is a help system pragma and don't try
> to convince me otherwise.
>   

This is waaay off deserving a real answer.

Cheers,
Juan Vuletich



More information about the Squeak-dev mailing list