(Integer readFrom: 'abc' readStream) = 0

Jason Johnson jason.johnson.081 at gmail.com
Sun Jan 13 12:15:42 UTC 2008


On Jan 8, 2008 9:43 PM, nicolas cellier <ncellier at ifrance.com> wrote:
>
> However, I always preferred the power of Compiler evaluate: to its very
> restricted avatar Number readFrom:
>
> example of non smart readFrom:
>         Number readFrom: '1+1'.
>         Number readFrom: 'Float pi / 5 sin * 30'.
>
> Of course, you gotta trust your users then, not very secure...
>
> Nicolas

That sounds like Java talk. :)  I think the most powerful languages
(Lisp and Smalltalk) are powerful exactly because they *do* trust
their users.



More information about the Squeak-dev mailing list