DIP 1025--Dynamic Arrays Only Shrink, Never Grow--Community Review Round 1

Walter Bright newshound2 at digitalmars.com
Tue Nov 12 03:54:16 UTC 2019


On 11/11/2019 7:03 PM, Jab wrote:
> How have you not had this problem before?

Because I was careful.


> DMD's code base is kind of horrible. 
> Pointers to arrays that end up having to be accessed by (*p)[x]. A simple 
> wrapper could easily have alleviated that entirely. It's kind of ironic that the 
> D reference compiler showcases exactly how you shouldn't write D code.

DMD was rather recently converted to D from a "C with Classes" codebase. Its 
structure very much reflects that heritage.


> Of all the things people would be willing to have such a big breaking changes 
> for. Auto-decoding to name one. This is now where the line is drawn? Some of 
> these decisions are being made too hastily IMO.

No decision has been made about DIP 1025. That's what this process is for. 
Everyone gets their say.



More information about the Digitalmars-d mailing list