== Quote from Andrej Mitrovic (andrej.mitrov...@gmail.com)'s article > Seems to me like virtually every module in Phobos gets a complete > rewrite sooner or later. Yikes! Afaik the upcoming ones are also > std.xml, std.variant, maybe std.json too? (can't recall). Was there > really so much bad code written in Phobos all along that they all > require a rewrite?
It's really amazing how much cruft 2-3 year old D code tends to have: Workarounds for compiler bugs, workarounds for previously missing features, a generally lower standard for quality before we implemented a proper review process, etc. Heck, I've got a pull request in Github that rewrites a substantial portion of std.parallelism to take advantage of better implementations I've found for parallel foreach and amap, fix a couple bugs and get rid of tons of cruft, and this module's only been in Phobos a few months. These changes are purely under the hood, though, and there should be zero code breakage.