On 7/15/2012 11:48 PM, RivenTheMage wrote:
On Monday, 16 July 2012 at 06:07:21 UTC, Walter Bright wrote:
Changing names is minute progress, and is too costly in terms of annoying
existing users and breaking their code.
Cost can be lowered - by introducing (semi-)automatic refactoring/upgrade mode.
dmd -upgrade zzz.d
Compiler can do renames (clear() -> destroy()), insert
workarounds (if needed), and so on. Easy, fast, no risk of human
error.
Of course, in certain cituations no automatic upgrade is
possible...
It is a good idea, but I'd be nervous myself about allowing the compiler to edit
my code :-)