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: 109fba,d95b511473b3a931 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,d95b511473b3a931 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,d95b511473b3a931 X-Google-Attributes: gid103376,public From: smize@Starbase.NeoSoft.COM (Samuel Mize) Subject: Re: Language Choice and Coding style Date: 1996/07/02 Message-ID: <4rcl9r$dss@Starbase.NeoSoft.COM>#1/1 X-Deja-AN: 163397566 references: <4r3bp1$cea@Starbase.NeoSoft.COM> <836339497.14712.2@assen.demon.co.uk> organization: NeoSoft, Inc. +1 713 968 5800 newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-07-02T00:00:00+00:00 List-Id: In article <836339497.14712.2@assen.demon.co.uk>, John McCabe wrote: >smize@Starbase.NeoSoft.COM (Samuel Mize) wrote: > ><..snip..> > >>Anyway, for this particular small area -- code formatting -- the best >>approach is to use a formatting editor, so everybody can set up his >>*own* preferences and see the code the way *he* finds most readable. >>(Or she.) > >I'm not sure how this solves the problem. If each user sets up the >formatting editor the way they like, then you're still going to get >lots of different formats. On the other hand, if one person sets up >the formatting editor (e.g. using ada-mode on emacs) then no one has >to worry about how it looks as the editor will have taken care of it. True, given the current state-of-the-practice for editors. I believe that editors exist that format the code as they read it in, to fit your preferences. The next guy gets the code auto-formatted to HIS preferences (if using that editor). (Or her.) Everyone sees the code the way they like it, and how it's stored on disk is irrelevant (the compiler won't care). However, I haven't seen stand-alone editors like this available commercially, I've just seen mention of them in research articles. The Rational editor I'm using at work gives us some of this ability, but it's part of an expensive environment. I'm hoping someone will post a message starting "Oh, you're talking about editors like ..." >Best Regards >John McCabe Samuel Mize