Top 5

Sergey Gromov snake.scaly at gmail.com
Fri Oct 10 06:30:36 PDT 2008


Fri, 10 Oct 2008 08:08:11 -0400,
Christopher Wright wrote:
> Catenating an array to a slice shouldn't do it in place unless the slice 
> includes the end of the original array. If it does, that's a bug.

Only array knows where it's end is.  That's the point.

> And parsers generally don't need to modify the input. I'm rather curious 
> as to why yours was.

It was a sort of refactoring tool.  It automated conversion of Java 
sources into C++ (J2ME -> BREW actually).  It basically moved things 
around and replaced patterns but tried to keep the original formatting 
as much as possible.



More information about the Digitalmars-d mailing list