Is std.process.browse a category mistake?
H. S. Teoh
hsteoh at quickfur.ath.cx
Fri May 27 19:34:11 UTC 2022
On Fri, May 27, 2022 at 07:16:32PM +0000, kdevel via Digitalmars-d wrote:
> On Friday, 27 May 2022 at 19:10:59 UTC, H. S. Teoh wrote:
> > On Fri, May 27, 2022 at 06:46:36PM +0000, kdevel via Digitalmars-d
> > wrote:
> > > https://dlang.org/phobos/std_process.html#browse
> > >
> > > void browse(scope const(char)[] url);
> > > Start up the browser and set it to viewing the page at url.
> > >
> > > It feels wrong that this function is in std.process.
> >
> > Where would be a better place for it?
>
> In std.useragents?
A completely separate module seems unwarranted. Maybe a submodule of
std.process? Like std.process.programs? std.process.clients? Something
like that.
T
--
Marketing: the art of convincing people to pay for what they didn't need before which you fail to deliver after.
More information about the Digitalmars-d
mailing list