3 ms·
I have this issue on occasion with older mixed C/C++ codebases that use `.c` for C files and `.C` for C++ files. Maddening.
by Twisol 3y ago
I have this issue on occasion with older mixed C/C++ codebases that use `.c` for C files and `.C` for C++ files. Maddening.
- Athas 3y agoI never understood the popularity of the '.C' extension for C++ files. I have my own preference (.cpp), but it's essentially arbitrary compared to most other common alternatives (.cxx, .c++). The '.C' extension is the only one that just seems worse (this case sensitivity issue, and just general confusion given how similar '.c' looks to '.C'). But even more than that, I just don't get how C++ turns into 'C' at all. It seems actively misleading.
- keketi 3y agoC++ is Incremented C which is Big C which is Capital C
- Athas 3y agoBut C is already capital C! Even .d would have been a better extension.
- imtringued 3y agoHe is clearly taking about the capital version of capital C.
- basil-rash 3y agoYou can always reformat as APFS (Case Sensitive)
- tzs 3y agoI remember seeing quite a few things in the old days that would have both 'makefile' and 'Makefile'.