Deprecating Allocating Functions In std.string
Rory McGuire via Digitalmars-d
digitalmars-d at puremagic.com
Fri Nov 13 13:48:49 PST 2015
On Thu, Nov 5, 2015 at 2:02 AM, Jonathan M Davis via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:
>
> We've been adding lazy versions of functions for years now, and we've
> never removed the eager versions. And I'm pretty sure that Walter and
> Andrei have generally been opposed to the idea of doing so precisely
> because of the code breakage that it causes. We have been moving towards
> using lazy range-based functions as much as possible and avoiding adding
> new eager functions, but that doesn't mean that removing the eager
> functions is worth the pain that that causes or even that the eager
> functions aren't worth having.
>
> - Jonathan M Davis
>
Surely the eager functions should at least be using the lazy version
internally? "more code, more bugs" is often a true statement (not always,
but often).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20151113/4d65434e/attachment.html>
More information about the Digitalmars-d
mailing list