[squeak-dev] Note sharing inside Squeak?

karl ramberg karlramberg at gmail.com
Sat Jul 2 18:39:14 UTC 2022


Thanks for the tip about using blocks. I'll keep that in mind next time I
debug issues. :-D

Best,
Karl

On Wed, Jun 29, 2022 at 8:52 PM Chris Muller <asqueaker at gmail.com> wrote:

> 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/20220702/be7ce73f/attachment.html>


More information about the Squeak-dev mailing list