3 ms·
It's interesting how the C++ files used .cp for the file extension instead of the usual .cpp nowadays. I did some brief research, and my understanding is that .
by nusaru 5y ago
It's interesting how the C++ files used .cp for the file extension instead of the usual .cpp nowadays. I did some brief research, and my understanding is that .cp was used by the CodeWarrior IDE, which has now been replaced by Eclipse.
- ncmncm 5y agoFor the longest time, ".cpp" was the only suffix MSVC would compile, so that forced anybody doing cross-platform to conform. Recently, MSVC got an option to accept other suffixes, but the damage is done. The obviously best choice is ".cc": your finger is already on the "c". But IDEs have led people to care less about ergonomic code organization.
- michaelcampbell 5y agoCan you double tap a letter quicker than hitting 2 letters on 2 different keys? This is hair splitting, but I don't think 'cc' is necessarily better or faster than 'cp'. Maybe better than 'cpp' but that's an additional letter, AND having to "double tap" one.