Renaming .c files to .cc?
"Christian Biesinger via gdb" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAPTJ0XEXR2Kb9CU1j17g9VE9fU07xsWHJSk4QiD1ma47F1TSsA@mail.gmail.com> |
Hello all, I was wondering what people's thoughts are on renaming the .c files to .cc, since they are in fact C++ code? (Only for files under gdb/) Advantages: - Easier for newcomers to see that the code is, in fact, C++ - Editors will syntax highlight C++ keywords w/o having to be told that these files are C++ On IRC it was mentioned that git may have issues with renames like that but I have found that "git log --follow" and such are doing a good job with that, at least as long as the same commit doesn't change the file too much while it is renamed, which I wouldn't expect to be a problem here. Thoughts? Christian