From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2afac1a4161c7f35 X-Google-Attributes: gid103376,public From: tconiam@aol.com (TConiam) Subject: Re: who owns the code? was Re: Distinguishing type names from other identifiers Date: 1998/02/03 Message-ID: <19980203214601.QAA12150@ladder03.news.aol.com>#1/1 X-Deja-AN: 321784140 References: X-Admin: news@aol.com Organization: AOL http://www.aol.com Newsgroups: comp.lang.ada Date: 1998-02-03T00:00:00+00:00 List-Id: >My own personality is most comfortable with the egoless style, and >that's how I prefer to do things. So I mostly agree with Robert here. So do I, although it is at some times a very hard personal internal battle when it comes to having someone else find faults or bad assumptions in the code I've created. However, once all is laid out on the table I learn from it and try to avoid the same mistakes. I also never blame the individual who found the fault, in fact I let them know that I appreciate their insight. > >Example: I'm working on a certain package, and I decide that one of the >exported procedures is poorly named, so I want to change the name. It >seems to me that the best thing is for me to do a global search and >replace, and change all the call sites (assuming the source control >system doesn't lock me out of some file). But I've worked with some >people who are annoyed at that. They prefer that I send them e-mail, >saying "I've changed XYZZY to Do_Good_Stuff, please fix the call sites >in 'your' code." To me, that seems inefficient, and disruptive, since >it leaves things in an inconsistent state. In fact, it might well cause >me to decide that the change is too costly, and leave the bad identifier >alone, thus damaging the long-term quality of the code. > In this situation we have always brought the group together and had a short discussion about the global change. If the group agrees, it is assigned to one person to accomplish, generally the one suggesting the change, this assures consistancy and responsibility for it's accomplishment. If the group feels it is not necessary, it is not done, this prevents unecessary or arbitrary changes. Todd Coniam