Re: Re: Class/method organization

David Bernard <[email protected]> Thu, 07 Jul 2005 12:57:35 +0200
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
Daniel Bonniot wrote:

>
>> I agree there is several way to do. And my suggestion is to choose 
>> one for static files and package organisation and avoid mixe.
>
>
> It's a question of priorities, and how to use our time most 
> efficiently. Working on tools will give a better result in the end, 
> and other advantages as well.

-1

> Given that there are several possible organisations, it's also a 
> problem to enforce one by the compiler, as the user might prefer 
> another one, equally sensible. This is especially important as Nice 
> brings more flexibility compared to Java, so it should appeal to 
> people who enjoy that flexibility.

Flexibility isn't "chaos". Freedom implies also lot of time waste in 
"administartive task". For me the bigger flexibility of Nice is 
dispatch, multi-method,... all argument of the Home Page. If there is 
rules of how to organise source => less question to start a new project 
or explore an existing one. And I could use more time to do the job.
I think the problem is the same as Maven vs Ant. Maven provide a 
skeleton of project for 80% of the project, when a developper read a 
maven project, he only need to learn "difference" with the standard. 
About Ant every think depends of the first developper... And about tool 
it's easier to create an integrated tool/plugin for maven because lot of 
"property" are defined/directed by maven.
I listen an actor (Robin Williams or Dustin Hoffman, I don't remember) 
said something that (+/- translated) "When director give me 
direction/constraint, I could free the imagination and I'm better"

>
> So it seems to me that following some conventions in your own projects 
> is the best compromise until more advanced tools can be used.
>
>> Currently there is no NiceDoc and IDE for Nice, and the only tool is 
>> FileSystem navigation. 
>
>
> Well, nicedoc and the eclipse plugin exist, but I agree they don't 
> solve this problem in their current form.
>
>> Note that some time it's the only tool also for Java and other 
>> language (throught CVSWeb,...). 
>
>
> Agreed, although it should be rare enough. Most of the time you could 
> also check out the code from CVS and use your editor.


Sometimes I use a librarie I got the javadoc but need more information 
then I go to read the source, and use the CVSWeb is more quicker (if I 
know where to search -- which file) than dowload the source (tarball or 
connect to cvs), create a new project in the IDE and use the search 
feature (and for Java developper who want to explore nice lib, need to 
install plugin).

>> Yesterday I start to explore NiceDoc source and my first reaction was 
>> were is the implementation of this class/method/function, idem when I 
>> go into the source of Nice to search for AST, Document,...
>
>
> Yes, I understand the difficulty. Don't hesitate to ask for help, I 
> should be on IRC more often these days. (Oh, and I'm embarrased to say 
> this, but grep might help ;-)


grep is the stone for developper ;-)

>
> Cheers,
>
> Daniel
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Nice-info mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nice-info



-- 
--------------------------------------------------------------
David "Dwayne" Bernard             Freelance Developer (Java)
                                   mailto:[email protected]
      \|/                          http://dwayne.java-fan.com
--o0O @.@ O0o-------------------------------------------------



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click