git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Avoid C++ comments, use C comments instead

From
OGOlivier Galibert <galibert@pobox.com>
Date
Jul 10, 2006, 11:41 UTC
Message-ID
<20060710114117.GA62514@dspnet.fr.eu.org>
In-Reply-To
<Pine.LNX.4.63.0607101306030.29667@wbgn013.biozentrum.uni-wuerzburg.de>
On Mon, Jul 10, 2006 at 01:06:44PM +0200, Johannes Schindelin wrote:
Show 11 quoted lines
> Hi,
> 
> On Mon, 10 Jul 2006, Olivier Galibert wrote:
> 
> > On Mon, Jul 10, 2006 at 12:46:28AM -0700, Junio C Hamano wrote:
> > > It is sad that some people stay behind and we need to
> > > cater to them, though.
> > 
> > Do you, really?
> 
> Well, I guess as long as things do not break for _you_, we do not need to.

Supporting old, not-standard-anymore compilers has a cost in maintainability, by precluding the use of better constructs (// comments, declarations near initialisation, struct initializers...). Additionally, it gets harder and harder to have people test for them. Given than you can find gcc on pretty much everything that has a filesystem cache decent enough to handle git correctly, is this cost worth it? _That_ was the question.

  OG.
Previous: Johannes SchindelinNext: Paul Serice
Message 5 of 14 in “Avoid C++ comments, use C comments instead”
  1. Avoid C++ comments, use C comments insteadPavel Roskin, Jul 10, 2006
  2. Junio C HamanoJul 10, 2006
  3. Olivier GalibertJul 10, 2006
  4. Johannes SchindelinJul 10, 2006
  5. Olivier GalibertJul 10, 2006
  6. Paul SericeJul 10, 2006
  7. Olivier GalibertJul 10, 2006
  8. Johannes SchindelinJul 10, 2006
  9. Yakov LernerJul 10, 2006
  10. Olivier GalibertJul 10, 2006
  11. Shawn PearceJul 11, 2006
  12. Junio C HamanoJul 11, 2006
  13. Olivier GalibertJul 10, 2006
  14. Pavel RoskinJul 11, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.