Hi Dale. I don't know why but I remember once you told me I should not put comments in version/baseline methods because they may be "lost" at some point. Do I remember correctly? is this point still being valid?
if true, in which situations? because I would REALLY like to comment my confs... thanks! -- Mariano http://marianopeck.wordpress.com |
Mariano,
If you are always hand editing your configurations then you can go ahead and embed comments in the methods ... If you use the toolbox to manage your configuration then the method comments will be lost, because the toolbox will regenerate the method source and the comments will be lost This brings up a point that I could add a comment field to Metacello that would allow one to make permanent comments and their relationship to the other fields would then be preserved ... It wouldn't be that hard to add ... Dale ----- Original Message ----- | From: "Mariano Martinez Peck" <[hidden email]> | To: [hidden email] | Sent: Thursday, October 20, 2011 8:01:05 AM | Subject: [Metacello] Are version/baseline methods decompiled at some point ? | | Hi Dale. I don't know why but I remember once you told me I should | not put comments in version/baseline methods because they may be | "lost" at some point. Do I remember correctly? is this point still | being valid? | if true, in which situations? because I would REALLY like to comment | my confs... | | thanks! | | -- | Mariano | http://marianopeck.wordpress.com | | |
On Thu, Oct 20, 2011 at 8:57 PM, Dale Henrichs <[hidden email]> wrote: Mariano, ahh ok, I see. But anyway, the toolbox will generate only a particular version/method, won't it ? I mean... I will lost my comments ONLY if with the toolbox I want to create a version/baseline that I have already created by hand. Is that correct ?
I am not sure if it is worth it. If you use the toolbox, you probably won't look that much to the resulted conf. Even less, to comment it. Now.... if you comment the conf, you probbaly have written it by hand ;) Dale -- Mariano http://marianopeck.wordpress.com |
The toolbox only rebuilds particular methods on demand... so methods that aren't touched by the toolbox will not have their comments stripped ...
I'm not completely convinced that hand editing and toolbox operations are mutually exclusive, there are some operations that are best done by the toolbox and other operations that might turn out to be easier to do by hand...but we'll see, I'm not looking to add features until they are really needed:) Dale ----- Original Message ----- | From: "Mariano Martinez Peck" <[hidden email]> | To: [hidden email] | Sent: Thursday, October 20, 2011 12:02:16 PM | Subject: Re: [Metacello] Are version/baseline methods decompiled at some point ? | | | | | On Thu, Oct 20, 2011 at 8:57 PM, Dale Henrichs < [hidden email] | > wrote: | | | Mariano, | | If you are always hand editing your configurations then you can go | ahead and embed comments in the methods ... | | If you use the toolbox to manage your configuration then the method | comments will be lost, because the toolbox will regenerate the | method source and the comments will be lost | | | ahh ok, I see. But anyway, the toolbox will generate only a | particular version/method, won't it ? I mean... I will lost my | comments ONLY if with the toolbox I want to create a | version/baseline that I have already created by hand. Is that | correct ? | | | | This brings up a point that I could add a comment field to Metacello | that would allow one to make permanent comments and their | relationship to the other fields would then be preserved ... It | wouldn't be that hard to add ... | | | | I am not sure if it is worth it. If you use the toolbox, you probably | won't look that much to the resulted conf. Even less, to comment it. | Now.... if you comment the conf, you probbaly have written it by | hand ;) | | | | Dale | | | | | ----- Original Message ----- | | From: "Mariano Martinez Peck" < [hidden email] > | | To: [hidden email] | | Sent: Thursday, October 20, 2011 8:01:05 AM | | Subject: [Metacello] Are version/baseline methods decompiled at | | some point ? | | | | Hi Dale. I don't know why but I remember once you told me I should | | not put comments in version/baseline methods because they may be | | "lost" at some point. Do I remember correctly? is this point still | | being valid? | | if true, in which situations? because I would REALLY like to | | comment | | my confs... | | | | thanks! | | | | -- | | Mariano | | http://marianopeck.wordpress.com | | | | | | | | -- | Mariano | http://marianopeck.wordpress.com | | |
On Thu, Oct 20, 2011 at 9:24 PM, Dale Henrichs <[hidden email]> wrote: The toolbox only rebuilds particular methods on demand... so methods that aren't touched by the toolbox will not have their comments stripped ... Excellent. So I can put comments :) I'm not completely convinced that hand editing and toolbox operations are mutually exclusive, there are some operations that are best done by the toolbox and other operations that might turn out to be easier to do by hand...but we'll see, I'm not looking to add features until they are really needed:) Ok, I see. Thanks!
-- Mariano http://marianopeck.wordpress.com |
Free forum by Nabble | Edit this page |