Rename std.string.toStringz?

Walter Bright newshound2 at digitalmars.com
Sat Jun 25 20:35:06 PDT 2011


On 6/25/2011 7:47 PM, Adam D. Ruppe wrote:
> Amen. I have a D codebase now of almost 50,000 lines. Every time
> I update the dmd, I've gotta make dozens of trivial changes and
> sometimes, major ones.
>
> Last update, for example, broke half my lines of std.string.replace.
> Not only was it renamed, it stopped working with immutable(string)!
> Aaaargh!
>
> Now my production code is littered with casts just to shut it up.
> What a waste of time and something that may introduce bugs later.
> And what did we gain?
>
> Well, it is cool that the function works on more stuff... but it's
> not cool that it works on less stuff.
>
> Ugh. I never regret going D - I wouldn't have it any other way.
> But still.... ugh.

This is exactly what I'm talking about.


More information about the Digitalmars-d mailing list