[squeak-dev] Note sharing inside Squeak?

Jaromir Matas mail at jaromir.net
Mon May 30 18:36:16 UTC 2022


I can’t figure out how you got the menu - from where?
Thanks :)

From: tim Rowledge<mailto:tim at rowledge.org>
Sent: Monday, May 30, 2022 19:37
To: The general-purpose Squeak developers list<mailto:squeak-dev at lists.squeakfoundation.org>
Subject: Re: [squeak-dev] Note sharing inside Squeak?

cmd-6 (ctl-6 on windows I think) opens a little dialog

[cid:F0D75AE1-8E6B-463D-B392-653B47D4205C]

with those 'Link' options. If we added a 'Link to Help' it would become very easy to connect a few words in a method/code comment to a more expansive explanation in the Help browser.


On 2022-05-30, at 4:15 AM, Marcel Taeumel <marcel.taeumel at hpi.de<mailto:marcel.taeumel at hpi.de>> wrote:

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<mailto: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<mailto:mail at jaromir.net>



From: Marcel Taeumel
Sent: Monday, May 30, 2022 11:31
To: squeak-dev
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







tim
--
tim Rowledge; tim at rowledge.org<mailto:tim at rowledge.org>; http://www.rowledge.org/tim
Useful random insult:- Couldn't pour water out of a boot with instructions on the heel.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220530/5d51e878/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-05-30 at 10.35.44 AM.png
Type: image/png
Size: 22378 bytes
Desc: Screen Shot 2022-05-30 at 10.35.44 AM.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220530/5d51e878/attachment-0001.png>


More information about the Squeak-dev mailing list