2 ms·
> that's not much help when incrementally modifying an existing code base I am doing exactly that now that I converted the Digital Mars C++ and the DMD D progr
by WalterBright 8y ago
> that's not much help when incrementally modifying an existing code base
I am doing exactly that now that I converted the Digital Mars C++ and the DMD D programming language compilers to D - converting the pointer based array code to [] based arrays. Doing it incrementally is very doable and easy.
It's not viral like const is. A slice can be trivially created:
a[] = p[0 .. length];
and the other way:
p = a.ptr;
length = a.length;