This is my last mail to the thread as we are going around in circles.

> "I focused on you splitting up into methods because that was a complaint of 
> yours and you said you were following Spec examples when doing that."
> 
> But I think I have been crystal clear about this my main issues were 2

And you also said that you had a class with 36 methods and you were clearly 
upset about it. There were three exclamation marks.

> 2) I have to return each spec element which makes sense to me but what annoys 
> me is that I have to do it verbosely by returning each variable separately in 
> its own method. Instead inside a single method and pass it as an array which 
> would reduce the amount of methods used dramatically.

These methods are called accessors. Please use the conventional terminology so 
that we can better understand each other. You were talking about the names of 
the spec elements before and that was very confusing (and you never cleared it 
up).

As I said in a previous mail, you don’t write accessors by hand, you generate 
them. Try in Nautilus: click on a class name, right click for the menu, 
Refactoring->Class Refactoring->Generate accesors. Or cmd-h-a. It will propose 
a list of accessors to generate for you.



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


Reply via email to