[squeak-dev] Note sharing inside Squeak?

Chris Muller asqueaker at gmail.com
Wed Jun 29 18:51:53 UTC 2022


On Tue, Jun 28, 2022 at 4:17 AM St├ęphane Rollandin <lecteur at zogotounga.net>
wrote:

> > One issue I have with lots of inline comments like here is that it makes
> > it really painful if you want to comment out a section of the code for
> > debugging, testing etc.
> > A way of skipping whole lines like C style // single line comment could
> > maybe help with that.
>


> What I sometimes do is just enclose a chunk of code within a block. It
> has the nice effect that comments inside the block are not a problem.
>

That's what I do as well, and this method provides the advantage that
"senders" will still find that code.

 - Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220629/6f2c35ba/attachment.html>


More information about the Squeak-dev mailing list