www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Remove macro keyword?

reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
Hi,

Would it not be a good idea to remove the macro keyword? It doesn't seem 
like there's anything happening with the AST macros idea anyway, and 
it's an identifier that I actually find myself wanting to use 
occasionally...

Regards,
Alex
Aug 23 2011
parent reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
On 23-08-2011 15:41, Alex Rønne Petersen wrote:
 Hi,

 Would it not be a good idea to remove the macro keyword? It doesn't seem
 like there's anything happening with the AST macros idea anyway, and
 it's an identifier that I actually find myself wanting to use
 occasionally...

 Regards,
 Alex
Any input on this? Especially from people hacking on DMD? Reserving a common word like this for no purpose is not very reasonable IMO... Regards, Alex
Oct 14 2011
parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Friday, October 14, 2011 20:49:13 Alex R=C3=B8nne Petersen wrote:
 On 23-08-2011 15:41, Alex R=C3=B8nne Petersen wrote:
 Hi,
=20
 Would it not be a good idea to remove the macro keyword? It doesn't=
seem
 like there's anything happening with the AST macros idea anyway, an=
d
 it's an identifier that I actually find myself wanting to use
 occasionally...
=20
 Regards,
 Alex
=20 Any input on this? Especially from people hacking on DMD? =20 Reserving a common word like this for no purpose is not very reasonab=
le
 IMO...
At this point, I think that it is the way that it is, and it's going to= stay=20 that way - if nothing else because there's every possibility that a new= =20 feature will be added at some point in the future which uses the macro=20= keyword. If we do add such a feature, it probably won't be until D3, bu= t if we=20 have the macro keyword in D2, then there's a greater chance of being ab= le to=20 add such a feature in a backwards compatible manner into D2. Removing the keyword now is just going to cause problems later if we ev= er want=20 it as a keyword again. - Jonathan M Davis
Oct 14 2011