|
|
|
|
|
by Spivak
1779 days ago
|
|
Doesn’t work in a lot of cases unfortunately. If you’re writing a library designed to be consumed by other languages you’re stuck with writing C abi compatible code which can be written in other languages that can “extern” them but it puts limits on what’s possible in those libraries. |
|
It also may be true that one can't replace every use of the preprocessor. That shouldn't stop replacing what one can.