[Newbies] How to comment in Squeak Smalltalk?

H. Hirzel hannes.hirzel at gmail.com
Fri Nov 10 06:30:30 UTC 2017


Comment is enclosed in double quotes, e.g.

    " .... this is my comment "

Most methods have a comment.

In addition many classes have a 'examples' category on the class side
where you put some example code which show how the class is to be
used.


On 11/10/17, RedTigerFish <chihuyu at gmail.com> wrote:
> In Squeak programming ,   "comment " is very needed in order to make the
> source code easier for humans to understand and maintain.
>
> However, I find "//"  and /*     */  to be not working.
>
> What can I do in order to comment in Squeak programming ?
>
>
>
> -----
> Dig, dig where you are,
> Down below's well.
> Let those that walk in darkness shout,
> Down below's hell.
> --
> Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


More information about the Beginners mailing list