Feature request: Add #define to Solidity

I’ve just created an issue on Github to discuss about the addition of #define to Solidity. I’d love to hear your opinions!

I think your feature request might be a duplicate of issue #10 which is currently the oldest open issue. I think that this should ultimately not be added to the language itself but instead we should have a recommended preprocessor.

There are actually 4 issues where there was some discussion about this on GitHub:

Add #define to Solidity
Feature request: MACRO
Feature request: macros
Solidity feature request: macros

I made a tally of what people’s stances are in all four of these issues.

xinbenlv: yes
clemlak: yes
hrkrshnn: maybe no
sambacha: neutral
banshee: maybe yes
axic: no
nielsbishere: yes
fulldecent: no
rellfy: maybe yes
mikebolt: no
wjmelements: yes
lianahus: neutral
nmushegian: yes
debris: maybe yes
chriseth: no
LefterisJP: yes
zitterbewegung: maybe yes
flockonus: yes
marenz: no
cameel: neutral

Totals
yes: 7
maybe yes: 3
neutral: 3
maybe no: 1
no: 5

Feel free to correct the record, but based on this it seems like the majority of people want macros.