3 ms·
Unusual preprocessors in longstanding classical languages such as C and Fortran should be a well-considered decision. I know a particular example of a mature Fo
by ktpsns 8y ago
Unusual preprocessors in longstanding classical languages such as C and Fortran should be a well-considered decision. I know a particular example of a mature Fortran code which must be preprocessed with a weird perl script which enriches the Fortran notation with some semantic meaning of the array indices. We can do something similar now in a C++ code which uses templates but can be compiled without any tricks.
My personal bottom line: Better stick to the language canon and switch the complete infrastructure then only parts of it, except it is a small developer group or exceptional documentation.
- kazinator 8y ago> We can do something similar now in a C++ code which uses templates but can be compiled without any tricks. That's nice, but you cannot do that in Fortran without that perl script, so apples and oranges. That perl script cannot possibly be a worse dependency containing more technical debt than C++.