Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bpa!tci!kempf From: kempf@tci.bell-atl.com (Cory Kempf) Newsgroups: gnu.g++ Subject: Re^2: Help with g++ (1.36) Message-ID: <404@tci.bell-atl.com> Date: 17 Oct 89 22:00:52 GMT References: <46943@bbn.COM> <8910160320.AA17421@lurch.Stanford.EDU> Distribution: gnu Organization: Technology Concepts, Inc. Sudbury Mass. Lines: 22 dwf@prudence.lanl.gov (David W. Forslund) writes: >I would like to voice my objection to this style for differentiating >gcc and g++. I believe it is perfectly within the C++ specification >to have .c as a suffix for C++ programs. The suffix should not be the >distinguishing characteristic of C++ programs necessarily. Some other >mechanism should be used to distinguish C++ programs other than the suffix. Interesting. I tend to prefer the other POV: that C++ files have different endings that C files do. Just like Pascal files have diferent endings that either C or Fortran. I even carry the point a bit further and name my C++ include files with a .hh suffix rather than the more normal .h suffix. I think that it is valuable to be able to tell at a glance whether a file is a C++ file or a C file. (besides, that way, emacs can call up the correct major mode!!!!). +C -- Cory Kempf Technology Concepts phone: (508) 443-7311 x341 uucp: {anywhere}!uunet!tci!kempf, kempf@tci.bell-atl.com DISCLAIMER: TCI is not responsible for my opinions, nor I for theirs