[squeak-dev] Note sharing inside Squeak?

Jaromir Matas mail at jaromir.net
Mon May 30 11:31:20 UTC 2022


Hi Marcel,

Sounds good; I'll give it a try to squeeze some more stuff into comments unless it gets too bloated :)

Thanks again

From: Marcel Taeumel<mailto:marcel.taeumel at hpi.de>
Sent: Monday, May 30, 2022 13:16
To: squeak-dev<mailto:squeak-dev at lists.squeakfoundation.org>
Subject: Re: [squeak-dev] Note sharing inside Squeak?

Hi Jaromir --

> but I don’t even know if such linking to a help is possible and how.

Don't forget that you can always explain to the user where that information is located.
For example, if you created a new help topic, just write "For more information, see
the Help Browser and the topic X."  No need to get too fancy with text actions.

SqueakLicenseHelp openHelpBrowser
model showTopicNamed: #officialLicense.
SqueakLicenseHelp openHelpBrowser
model showFirstTopic.

That's as convenient as it gets for now. :-)

Best,
Marcel

Am 30.05.2022 12:43:58 schrieb Jaromir Matas <mail at jaromir.net>:
Hi Marcel,

> I would rather not remove such information too far from the method itself.

Exactly my concern. If it was in a help somewhere there would have to be a link included in the method… but I don’t even know if such linking to a help is possible and how.
Thanks!


--

Jaromír Matas

mail at jaromir.net

From: Marcel Taeumel<mailto:marcel.taeumel at hpi.de>
Sent: Monday, May 30, 2022 11:31
To: squeak-dev<mailto:squeak-dev at lists.squeakfoundation.org>
Subject: Re: [squeak-dev] Note sharing inside Squeak?

Hi Jaromir --

You can also append another longer comment to the end of that method. There are examples of this in the image. Somewhere. :-)

I would rather not remove such information too far from the method itself.

Best,
Marcel

Am 30.05.2022 02:33:37 schrieb tim Rowledge <tim at rowledge.org>:
My suggestion is that notes about details of the method should be method comments until they get really long. If that happens I would expect that quite a few related methods might have need of extensive commentary too and in that case it would be smart to add a help page to explain the whole thing.
If the comments are too long for the top of the method it doesn't hurt to have more at the bottom.

> On 2022-05-29, at 3:38 PM, Jaromir Matas wrote:
>
> John,
> Thanks for your reply. It was my initial idea to possibly use comments but there’s few issues with that approach IMO:
> 1) creating a version for each comment change may be counterproductive (too many versions, the method authorship - it’s better to have fewer versions with easily identifiable authors)
> 2) only core developers could update trunk comments; I wouldn’t want to place that burden on anybody
>
> But yeah, maybe I could try to put some more stuff and examples as a comment after the code. But a more informal but easily reachable place would still be nice.
>
> Best,
> Jaromir
>
> --
> Jaromír Matas
> mail at jaromir.net
>
> From: John-Reed Maffeo
> Sent: Monday, May 30, 2022 0:04
> To: The general-purpose Squeak developers list
> Subject: Re: [squeak-dev] Note sharing inside Squeak?
>
> jaromir,
>
> Who said comments should be terse and polished?
>
> It would be more helpful to people like myself (still a nube after 30+ years) to see a long, complex entry into a method's comment than no comment at all! Putting comments in some other place is counter productive in my mind.
>
> Why not put a usage example into comments or the body of the text itself?
>
> - jrm
>
> On Sun, May 29, 2022 at 12:56 PM Jaromir Matas wrote:
> Hi all,
> In your experience, what would be a good place to *share* more detailed information about e.g. a method: like why I had to include this line and that check, which situations must be taken into account, alternative approaches, examples, references to tests etc etc. Ideally reachable from the image. Would such "notesharing" be welcome or rather confusing or even conterproductive? Often I forget why I did this and that and have to check my notes (if I'm lucky to have made them AND find them). I'm aware method comments are definitely not the place; they are meant to be rather terse and polished. Squeak wiki? Squeak Help? They’d have to be linked somehow to the methods, I imagine, to be useful in this regard…
> Any suggestion welcome :)
> Best,
> Jaromir
>
> --
>
> Jaromír Matas
>
> mail at jaromir.net
>
>
>
>
>
> --
> John-Reed Maffeo


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Common sense – so rare it’s a goddam superpower






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220530/11f9b286/attachment.html>


More information about the Squeak-dev mailing list