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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 146b77,d275ffeffdf83655 X-Google-Attributes: gid146b77,public X-Google-Thread: f5d71,d275ffeffdf83655 X-Google-Attributes: gidf5d71,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public From: peter.garner@toward.com (Crazy Pete) Subject: Re: Ada vs C++ vs Java Date: 1999/01/19 Message-ID: #1/1 X-Deja-AN: 434325786 Content-Transfer-Encoding: 8bit References: <369C1F31.AE5AF7EF@concentric.net> <369DDDC3.FDE09999@sea.ericsson.se> <369e309a.32671759@news.demon.co.uk> <369F1D39.64A65BC1@sea.ericsson.se> <369f81a9.31040093@news.demon.co.uk> <77ommt$9bo$1@nnrp1.dejanews.com> <77vhjf$nn9$1@nnrp1.dejanews.com> <77vld9$qvg$1@nnrp1.dejanews.com> Content-Type: text/plain; charset="us-ascii" X-Trace: 19 Jan 1999 01:37:03 -0600, 209.223.93.168 Organization: Primary Network. http://www.primary.net MIME-Version: 1.0 Newsgroups: comp.lang.c++,comp.vxworks,comp.lang.java,comp.lang.ada Date: 1999-01-19T00:00:00+00:00 List-Id: > In ACT, if we have to make an arbitrary style decision, Just out of curiosity, what is ACT? > That's the real point, you quickly get used to any > particular style, so fighting furiously to maintain your > own style is a sign of non-cooperative behavior that is > unlikely to be the mark of a good team player. I have watched this thread with some interest. I still prefer to be generous and say this is all a matter of opinion. I am sure there are many people who would not want to work in a shop where strict standards regarding brace placement, number of columns to indent, etc. are not enforced. I am also sure there are a number of others (myself included) who would refuse to work in a shop where such strict standards are enforced. Being as I began coding in C++ more than 11 years ago, I am usually the senior programmer on most projects and I am expected to mentor more junior individuals. There are some standards that have to be enforced, but we leave things like code format (indentation, brace placement, etc.) up to the individual. E.g. : if ( boolCondition ) doSomething () ; Would NEVER be allowed, because there are no braces, but we leave the individual free to : if ( boolCondition ) { doSomething () ; } if ( boolCondition ) { doSomething () ; } if ( boolCondition ) { doSomething () ; } Or whatever else. I always try to encourage each person to "own" individual modules and be responsible for them. I have found this encourages a sense of pride in their work. By letting them determine their own style they also enjoy what they are doing to a much greater degree and learn faster and become more productive. Also as you get to know your programmers and their coding styles, it becomes very easy to maintain their code because you begin to associate their strengths and weakness with a particular style. E.g. "This section of code has braces placed as such, this must be Ben's code, Ben is very good with X but keeps forgetting to Y, therefore let's check the Y first - yep that was the problem!" Again I think this is all a matter of opinion. I would not work in a shop such as Dr. Dewar advocates and Dr. Dewar would not work in an environment where I would be happy. I will say this, however, I DO have a reputation for getting projects in well ahead of deadline and having the results work very well. But I think this has more do to with my refusal to participate in any project where Microsoft products are involved than it does with my refusal to work in overly strict environments. ;-) BTW, I am a freelance consultant, so I may choose which projects I work on and which I do not. Peace Peter