[Pharo-project] a question about reef naming conventions

2010-11-03 Thread Esteban Lorenzano
Hi, I'm having some doubts about how to call some methods for Reef. To be precise, I'm not sure about the naming og the method extensions I'm adding. For instance, I have an extension for Object, the method #asView, and some others in BlockClosure, #asCallback, asCallbackOn:, etc. So... I wan

Re: [Pharo-project] a question about reef naming conventions

2010-11-03 Thread Diogenes Moreira
I think the third option is clearer than the others. Best Regards On Wed, Nov 3, 2010 at 7:52 PM, Esteban Lorenzano wrote: > Hi, > I'm having some doubts about how to call some methods for Reef. To be > precise, I'm not sure about the naming og the method extensions I'm adding. > For instance, I

Re: [Pharo-project] a question about reef naming conventions

2010-11-04 Thread Peter van Rooijen
On Thu, 04 Nov 2010 00:01:24 +0100, Diogenes Moreira wrote:I think the third option is clearer than the others. I agree, but I'd use a "real" prefix, exactly the same characters at the beginning, every time.So that would become: reefAsView, reefAsCallback.In my own code, I prefix selectors some

Re: [Pharo-project] a question about reef naming conventions

2010-11-04 Thread Stéphane Ducasse
how it is right now :)? On Nov 3, 2010, at 11:52 PM, Esteban Lorenzano wrote: > Hi, > I'm having some doubts about how to call some methods for Reef. To be > precise, I'm not sure about the naming og the method extensions I'm adding. > For instance, I have an extension for Object, the method #a