New answers tagged

5

For trivial examples, any form of additional overhead will appear massive. The benefit of separating into TUs is that you know that everything in the file is specific for the platform and you can use platform functionality in convenience functions without having to be careful about surgically placing it in the correct preprocessor sections. This also helps ...


2

The advantage of hygienic macros is not one of language capability -- you can write macros that have good hygiene using gensym and careful quoting/unquoting at the right times. However, hygienic macros ensure your macros have good hygiene. In that respect, it's a bit like type-checking. There may also be tooling advantages to hygienic macros. Most ...



Top 50 recent answers are included