any news on const/invariant?
Clay Smith
clayasaurus at gmail.com
Wed Nov 28 16:15:48 PST 2007
Walter Bright wrote:
> 0ffh wrote:
>> Actually, when it comes to array declaration style, I wouldn't care if
>> the
>> old style was dropped in D. The new one works fine (for me), and there
>> are
>> some good arguments for having just OWTDI.
>
> For new code, there isn't much point to using the C style array
> declarations. But when you're translating a big chunk of C code, it's a
> time and bug saver. Converting the array declarations from C style to D
> style is surprisingly error prone and rather tedious. It cannot be
> automated with simple string editors.
I agree, it is useful to help port C/C++ code to D.
More information about the Digitalmars-d
mailing list