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: 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 X-Google-Thread: 146b77,d275ffeffdf83655 X-Google-Attributes: gid146b77,public From: robert_dewar@my-dejanews.com Subject: Re: Ada vs C++ vs Java Date: 1999/01/16 Message-ID: <77q57g$dpu$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 433307044 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> X-Http-Proxy: 1.0 x6.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sat Jan 16 13:46:25 1999 GMT Newsgroups: comp.lang.c++,comp.vxworks,comp.lang.java,comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-01-16T00:00:00+00:00 List-Id: In article , peter.garner@toward.com (Crazy Pete) wrote: > Then the person who actually wrote the document decided > that everyone should place their braces '{' in the manner > in which she did and went to some incredible extremes in > an attempt to enforce this. Everyone decided she was a > nut and pretty much ignored her after that. That is exactly the sort of thing I am talking about. For a large project to permit divergence in style on a trivial issue like this is very poor management. For programmers to object to following a consistent style in a trivial issue like this is evidence of out-of-control hacker mentality. Just imagine an automotive engineer who insisted on using non-standard screw sizes ... As I said in a previous post, trivial issues of style like this are important ONLY to the extent that consistency in style is very important. Yes I am quite aware in the C world that you get at least two different styles of bracket placement and some programmers get used to one and don't like the other. One of the marks of a good programmer is that they can easily make a transition between coding styles in this kind of trivial respect. The trouble is that if you have two programmers one of whom insists on if (a == 2) { and the other who insists on if (a == 2) { and insists so strongly that they refuse to follow a prescribed standard, as in the case you mention, then they will not be happy working with one another's code, and that leads to code ownership, and ego-centered programming. > Some people would say that is far too restrictive (some > of the best programmers I know will refuse to work under > such restrictive conditions) Such programmers may be the "heroes" of a CMM level 1 shop, but they are NOT "best programmers". Robert Dewar -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own