Could new keyword help function hijacking and prevented aliasing all over the place??
Steven Schveighoffer
schveiguy at yahoo.com
Fri May 27 07:09:43 PDT 2011
On Fri, 27 May 2011 09:43:39 -0400, Jacob Carlborg <doob at me.com> wrote:
> On 2011-05-27 14:08, Steven Schveighoffer wrote:
>> I may see why you see so many cases -- dwt was likely ran through a java
>> to d converter, and such converters often add unnecessary lines, because
>> it is easier to do that than to examine each individual case.
>
> DWT is manually ported from Java. A automatic port was tried and it
> didn't workout that well, too much of the Java standard library needed
> to be reimplemented in D. The port tries to stay as close to the
> original code base as possible to ease merging future versions of SWT
> and to minimize porting bugs.
>
Why is this comment in the file given?
/* language convertion www.dsource.org/project/tioport */
Regardless of whether this was a manual port or not, the profuse aliasing
is unnecessary, and does not provide a valid use case for the proposal.
-Steve
More information about the Digitalmars-d
mailing list