Extended Type Design.
Bill Baxter
dnewsgroup at billbaxter.com
Fri Mar 16 18:53:53 PDT 2007
Daniel Keep wrote:
>
> $ dmd -v1
>
> With the v1 switch, I don't need to rewrite my code if it's already
> working and isn't being updated. And even if for some reason I do need
> to rewrite my code, I'm more than happy to do it in this case, if it
> gets us a sane, exception-free const system :)
>
> Heck, with D being as easy to parse as it is, I imagine that it wouldn't
> be terribly difficult for someone to write a source migration program;
> IIRC, Python actually had one of these for a particular version that
> broke several programs.
The python Numpy project has that too. There have been a lot of changes
from the old version of numpy called Numeric, but you can fix almost all
of the common cases using a script that comes with Numpy.
I suspect the script to upgrade D code would be much much MUCH simpler
than that.
>
> Yeah, it's going to catch some people, but D !is Cpp, and there will
> always be things that are different. So long as these breaking changes
> are for the better, I can't imagine any reasonable person would complain[1].
> [1]: Well, OK, they might complain anyway. But it's like how I could
> complain that my plans of doing car maintenance-related stuff has been
> ruined by this blasted wet weather!
>
> Considering that, as a country, we really need this sort of wet weather
> more often, and I know it, it's kinda an empty complaint :P
Great analogy.
--bb
More information about the Digitalmars-d
mailing list