Re:Go modules have a v2+ problem
by gostsamo on Thursday September 10, 2020 @11:09AM
(#24433033)
Isn't emacs the first to do it? I have the vague memory of it self-advertising as self-documenting.
[ Parent
| on HN ]
Re:Go modules have a v2+ problem
by eternalban on Thursday September 10, 2020 @02:59PM
(#24435450)
I don’t know about emacs but your comment prompted a search for Smalltalk-80 docs:
http://stephane.ducasse.free.fr/FreeBooks/BlueBook/Bluebook....
On page 309 the `Metaclass Protocol` is defined. This class has a property “comment” [with value semantic of] ‘commentString’. So possibly they got it from Smalltalk. Don’t know.
If you search the book you will find samples like:
sum: xValue with: yValue
"sums two values"
^ xValue + yValue
That is where commentString gets used.Several Lisp variants also have a similar approach.
Re:Go modules have a v2+ problem
by eternalban on Friday September 11, 2020 @11:27AM
(#24443826)
I fiddled around with SmalltalkAgents back in the day. Don’t remember how the doc was surfaced though.
This product probably deserves its own hn post: http://preserve.mactech.com/articles/mactech/Vol.10/10.04/Sm...