-
Notifications
You must be signed in to change notification settings - Fork 157
Main - New Macros: Q, QQ #1759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Main - New Macros: Q, QQ #1759
Conversation
|
Why, just use QUOTE |
Like he said, they're shortened. I'd personally be happier with these shortened ones, since [I don't think] there's nothing else even remotely similarly named. |
|
I am not a fan of this, single-letter macros are too obscuring and too easy to define in your own projects if you really want them. I think they do not fit CBA. |
I'd like to argue that |
|
Understanding is not the problem, single letter macro is. It is shortened in others for the purpose of not being so long, but |
|
I don't like this either. Single-letter macros don't read nicely, so I am 100% with Jonpas here. |
|
|
We actually had the discussion and it seems like your template has the QQUOTE but not ace nor any of the other bigger mods |
|
Ah right I mispoke, QQUOTE itself isn't defined but there is stuff like QQGVAR in ace |
Introduces a shortend version of QUOTE()
happy to add more when suggested
Why
1. Less convoluted and easier to read
Q(configName _x isEqualTo QQ(abe_banana)) configClasses (configFile >> QADDON)vs
QUOTE(configName _x isEqualTo QUOTE(QUOTE(abe_banana))) configClasses (configFile >> QADDON)2.
Qas a prefix already widely used and known.The
Qis already in use as a prefix for many of the most used MACRO's likeQGVARQFUNCQPATHTOFbut it does not exist as a standalone.