A debate is currently taking place over `alias newSymbol = existingSymbol` (a.k.a "The new syntax") or `alias existingSymbol newSymbol` (a.k.a "The old syntax") in a pull request to update the D Style guide, and a pull request to update druntime's code. It has been suggested to bring this to a larger audience, and that request motivated this post.

IMPORTANT:
No one is recommending deprecation of the old syntax. That is an entirely separate issue for another place and another time.

Background:
* Enhancement 3011 [3] - Submitted in May 2009
* Pull request implementing 3011 [4] - Merged October 2012
* Pull request updating dlang.org code examples [5] - Merged February 2014 * Andrei Alexandrescue encourages dfix utility [6] to update code to the new syntax [7] - Posted July 2014
* dfix used to update druntime to new syntax [2] - October 2014

[1] - https://github.com/D-Programming-Language/dlang.org/pull/682
[2] - https://github.com/D-Programming-Language/druntime/pull/1002
[3] - https://issues.dlang.org/show_bug.cgi?id=3011
[4] - https://github.com/D-Programming-Language/dmd/pull/1187
[5] - https://github.com/D-Programming-Language/dlang.org/pull/493
[6] - https://github.com/Hackerpilot/dfix
[7] - http://forum.dlang.org/post/lq9sf3$3au$1...@digitalmars.com

Reply via email to