Is phobos too fluffy?
jmh530
john.michael.hall at gmail.com
Thu Sep 17 19:22:13 UTC 2020
On Thursday, 17 September 2020 at 18:15:32 UTC, Andrei
Alexandrescu wrote:
> [snip]
>
> I was all in favor of that, until I had to refactor a dozen
> two-liners consisting of... let me paste some code:
>
> auto put(ref GGPlotD gg, GeomBar def) {
> import ggplot.backend.ggplot.geom_bar : geomBar;
>
> return gg.put(geomBar(def));
> }
>
> And so it goes for pages.
[snip]
Oh I probably have lots of code that does stuff like that (even
more commonly in unittests).
But I also agree with the points above on dfmt and having this
done automatically.
More information about the Digitalmars-d
mailing list