Phobos - breaking existing code

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 28 15:39:18 PST 2014


On Fri, 28 Nov 2014 15:33:51 -0800
Walter Bright via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> Just for fun, I've decided to try and get MicroEmacs in D added to the dub 
> registry. The last time it compiled was 2 years ago.
> 
> I wound up with at least a dozen references to Phobos names that have 
> disappeared. No corrective action was indicated, just "undefined symbol". I have 
> to go refigure out what the code was trying to do, and go poking through the 
> Phobos documentation to see what will work today.
> 
> I know there's been a lot of "break my code" advocacy lately, but this code was 
> only 2 years old.
> 
> I fully understand how unfriendly this is to users and how discouraging it can 
> be to have their recently working code shattered and scattered. We need to do a 
> lot better.
like, for example, having some tool that will analyze the old code and
autofix it/suggest replacement.

oh, wait... such tool was suggested years ago and has no signs of
"official blessing" until this year's summer! and now it can't fix
two-year-old code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141129/4e8562aa/attachment.sig>


More information about the Digitalmars-d mailing list