3 ms·
So what do you do then?
by chris_wot 8y ago
So what do you do then?
- convolvatron 8y agoany place you have to parameterize signatures or behaviors or types, calling it something meaningful and define it in a platform/compiler/os specific header. sure, in the end its the the same thing, but i find it to be easier to manage over time. and when you need to port to a new platform/compiler/os, you have a list of the important dependencies at hand...maybe you have to define a new one
- jstanley 8y agoI don't consider ifdefs harmful. But if you do, you must surely consider logic in Makefiles equally harmful.
- chris_wot 8y agoWhy so?