
Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
>>package com.customer.packages;
>>
[quoted text clipped - 4 lines]
> who own the code? Is the code for that specific customer or it is
> pretty generic?
The code is for that specific customer, but I was wondering if it's
common practice for the shop that wrote the code to put in their name as
sort of a sig, responsible, ...
> In projects I have been involved in there was a strong distinction
> between shared core code and customer specific application code. You
> had to be much more careful about any mods to the core system, since
> it could make all manner of quiescent projects stop working.
The customer wouldn't know how to maintain the code, and I was wondering
if there might also be some sort of benefit for the shop that wrote it
to put their name in, or if it should even be put in.
> Just from the point of view of maintaining uniqueness, I think
> packages should be named after the shop that wrote them. That way you
> can be sure you won't get clashes. The name of the customer comes
> somewhere in the package structure after the com.mindprod part.
Interesting.
Roedy Green - 22 Mar 2006 05:16 GMT
>The code is for that specific customer, but I was wondering if it's
>common practice for the shop that wrote the code to put in their name as
>sort of a sig, responsible, ...
what is the package name for?
1. to ensure uniqueness.
2. to figure out where to go to find the latest class files or the
source.
Both of those suggest using the author's name rather than the
customer's as primary.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Chris Smith - 22 Mar 2006 06:50 GMT
> The customer wouldn't know how to maintain the code, and I was wondering
> if there might also be some sort of benefit for the shop that wrote it
> to put their name in, or if it should even be put in.
Comments work for making a note of who wrote the code, if that's your
goal. If you don't own the code, then don't use your company name as a
package. Your customer may not have the expertise to maintain the code,
but they could hire such expertise, or contract the job to a third
party... in any such case, your package name would soon become rather
out of place.

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation