[squeak-dev] Re: Text Editors

Bert Freudenberg bert at freudenbergs.de
Sun Aug 2 20:04:19 UTC 2009


On 02.08.2009, at 21:59, Randal L. Schwartz wrote:

>>>>>> "Bert" == Bert Freudenberg <bert at freudenbergs.de> writes:
>
> Bert> Commment ∉ Literals
>
> Yes, I understand that.
>
> To put the data into a comment means some magic has to happen to parse
> source text to get at the value.
>
> To put the data into a literal means I simply call the method to get
> the value.
>
> What's the downside of having it as a literal?
>
> I know the downside of having it as a comment: far more mechanism,  
> and thus,
> more fragile code and maintenance.


Literals are actual objects in the image.

- Bert -





More information about the Squeak-dev mailing list