D versus Objective C Comparison

Daniel Keep daniel.keep.lists at gmail.com
Mon Feb 2 18:19:52 PST 2009



Michel Fortin wrote:
> [stuff]

Wouldn't this be just as well served with Walter's "universal function
syntax"; ie:

void backup(File this, string backupPath)
{
  copy(this.path, backupPath ~ "/" ~ this.name);
}

File someFile;
someFile.backup(backupPath);

I know Walter was planning on adding this (it already works on arrays)
but hasn't mentioned it in a while.

  -- Daniel



More information about the Digitalmars-d mailing list