4 ms·
>One of the key interest of C compared to more recent languages is that everything is explicit. With macros this is not exactly true. I gesture towards the GOb
by whatshisface 6y ago
>One of the key interest of C compared to more recent languages is that everything is explicit.
With macros this is not exactly true. I gesture towards the GObject system for an extremely complex situation in big important production software.
- quelsolaar 6y agoI agree. I have tried to come up with some reasonable way to constrain macros, but its really hard!
- whatshisface 6y agoThe way to do it is, survey your macro use to identify common patterns, specify them formally, and then write a computer program that allows those patterns specifically but no others. In other words, design a higher-level language. ;)
- desiderantes 6y agoSomething like https://wiki.gnome.org/Projects/Vala https://wiki.gnome.org/Projects/Vala ?