About method comments

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

About method comments

Stéphane Ducasse
Hi guys

I’m trying to find my way in the GLMPresentation methods and I’m super sad…. Not a single comments
Not a single. 
This is code done for a group of people knowing it not to be consume by others. 
So I have to guess what act: is actually doing and more. 

Method comments are not optional. 

Stef

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: About method comments

Tudor Girba-2
Hi,

Please do not be sad.

Indeed, there aren’t many comments. However, you do get the chapters and a significant amount of examples as help. The initial API was all covered with examples.

Can things be improved? Yes.

Cheers,
Doru


> On Mar 14, 2018, at 4:32 PM, Stéphane Ducasse <[hidden email]> wrote:
>
> Hi guys
>
> I’m trying to find my way in the GLMPresentation methods and I’m super sad…. Not a single comments
> Not a single.
> This is code done for a group of people knowing it not to be consume by others.
> So I have to guess what act: is actually doing and more.
>
> Method comments are not optional.
>
> Stef
>
> --------------------------------------------
> Stéphane Ducasse
> http://stephane.ducasse.free.fr
> http://www.synectique.eu / http://www.pharo.org 
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"It's not what we do that matters most, it's how we do it."

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: About method comments

Stéphane Ducasse
so how I can get an tab that only show for certain entities in the moose panel. 

mooseNameIn: composite
<moosePresentationOrder: 1000>
composite roassal2
when: [ :anObject | anObject mooseInterestingEntity isKindOf: FAMIXPackageGroup ];
initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]

act: [] entitled: ‘hh’


Does not work 

I have that for gtinspector

packageViewIn: composite
<gtInspectorPresentationOrder: -10>
composite roassal2
title: 'NameBlueprint';
initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]

On 14 Mar 2018, at 17:10, Tudor Girba <[hidden email]> wrote:

Hi,

Please do not be sad.

Indeed, there aren’t many comments. However, you do get the chapters and a significant amount of examples as help. The initial API was all covered with examples.

Can things be improved? Yes.

Cheers,
Doru


On Mar 14, 2018, at 4:32 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys

I’m trying to find my way in the GLMPresentation methods and I’m super sad…. Not a single comments
Not a single.
This is code done for a group of people knowing it not to be consume by others.
So I have to guess what act: is actually doing and more.

Method comments are not optional.

Stef

--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr
http://www.synectique.eu / http://www.pharo.org
03 59 35 87 52
Assistant: Julie Jonas
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"It's not what we do that matters most, it's how we do it."

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: About method comments

Stéphane Ducasse
mooseFinderPackageInternalIn: composite
<moosePresentationOrder: 20>
composite roassal2
title: 'Names';
titleIcon: MooseIcons mooseDependencies;
initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]

did work apparently I could not make the when: working. 

Stef



On 14 Mar 2018, at 20:15, Stéphane Ducasse <[hidden email]> wrote:

so how I can get an tab that only show for certain entities in the moose panel. 

mooseNameIn: composite
<moosePresentationOrder: 1000>
composite roassal2
when: [ :anObject | anObject mooseInterestingEntity isKindOf: FAMIXPackageGroup ];
initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]

act: [] entitled: ‘hh’


Does not work 

I have that for gtinspector

packageViewIn: composite
<gtInspectorPresentationOrder: -10>
composite roassal2
title: 'NameBlueprint';
initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]

On 14 Mar 2018, at 17:10, Tudor Girba <[hidden email]> wrote:

Hi,

Please do not be sad.

Indeed, there aren’t many comments. However, you do get the chapters and a significant amount of examples as help. The initial API was all covered with examples.

Can things be improved? Yes.

Cheers,
Doru


On Mar 14, 2018, at 4:32 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys

I’m trying to find my way in the GLMPresentation methods and I’m super sad…. Not a single comments
Not a single.
This is code done for a group of people knowing it not to be consume by others.
So I have to guess what act: is actually doing and more.

Method comments are not optional.

Stef

--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr
http://www.synectique.eu / http://www.pharo.org
03 59 35 87 52
Assistant: Julie Jonas
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"It's not what we do that matters most, it's how we do it."

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: About method comments

Tudor Girba-2
Great!

Let me know if you need more help.

Doru


> On Mar 14, 2018, at 8:21 PM, Stéphane Ducasse <[hidden email]> wrote:
>
> mooseFinderPackageInternalIn: composite
> <moosePresentationOrder: 20>
> composite roassal2
> title: 'Names';
> titleIcon: MooseIcons mooseDependencies;
> initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]
>
> did work apparently I could not make the when: working.
>
> Stef
>
>
>
>> On 14 Mar 2018, at 20:15, Stéphane Ducasse <[hidden email]> wrote:
>>
>> so how I can get an tab that only show for certain entities in the moose panel.
>>
>> mooseNameIn: composite
>> <moosePresentationOrder: 1000>
>> composite roassal2
>> when: [ :anObject | anObject mooseInterestingEntity isKindOf: FAMIXPackageGroup ];
>> initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]
>>
>> act: [] entitled: ‘hh’
>>
>>
>> Does not work
>>
>> I have that for gtinspector
>>
>> packageViewIn: composite
>> <gtInspectorPresentationOrder: -10>
>> composite roassal2
>> title: 'NameBlueprint';
>> initializeView: [ self scanVocabulary suffixVisualizationWithColorForDominantHierarchy ]
>>
>>> On 14 Mar 2018, at 17:10, Tudor Girba <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> Please do not be sad.
>>>
>>> Indeed, there aren’t many comments. However, you do get the chapters and a significant amount of examples as help. The initial API was all covered with examples.
>>>
>>> Can things be improved? Yes.
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>>> On Mar 14, 2018, at 4:32 PM, Stéphane Ducasse <[hidden email]> wrote:
>>>>
>>>> Hi guys
>>>>
>>>> I’m trying to find my way in the GLMPresentation methods and I’m super sad…. Not a single comments
>>>> Not a single.
>>>> This is code done for a group of people knowing it not to be consume by others.
>>>> So I have to guess what act: is actually doing and more.
>>>>
>>>> Method comments are not optional.
>>>>
>>>> Stef
>>>>
>>>> --------------------------------------------
>>>> Stéphane Ducasse
>>>> http://stephane.ducasse.free.fr
>>>> http://www.synectique.eu / http://www.pharo.org 
>>>> 03 59 35 87 52
>>>> Assistant: Julie Jonas
>>>> FAX 03 59 57 78 50
>>>> TEL 03 59 35 86 16
>>>> S. Ducasse - Inria
>>>> 40, avenue Halley,
>>>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>>>> Villeneuve d'Ascq 59650
>>>> France
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>>>
>>> --
>>> www.tudorgirba.com
>>> www.feenk.com
>>>
>>> "It's not what we do that matters most, it's how we do it."
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>>
>> --------------------------------------------
>> Stéphane Ducasse
>> http://stephane.ducasse.free.fr
>> http://www.synectique.eu / http://www.pharo.org 
>> 03 59 35 87 52
>> Assistant: Julie Jonas
>> FAX 03 59 57 78 50
>> TEL 03 59 35 86 16
>> S. Ducasse - Inria
>> 40, avenue Halley,
>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>> Villeneuve d'Ascq 59650
>> France
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
> --------------------------------------------
> Stéphane Ducasse
> http://stephane.ducasse.free.fr
> http://www.synectique.eu / http://www.pharo.org 
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"From an abstract enough point of view, any two things are similar."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev