Beta 2.079.0

Jonathan M Davis newsgroup.d at jmdavisprog.com
Thu Feb 22 08:29:19 UTC 2018


On Wednesday, February 21, 2018 18:10:51 rjframe via Digitalmars-d-announce 
wrote:
> On Wed, 21 Feb 2018 14:46:56 +0000, psychoticRabbit wrote:
> > how on earth can anyone approve, that syntax like that, can become part
> > of the D Programming language?
> >
> > I'm really bewildered.
> >
> > Syntax is EVERYTHING. It can make or break a language.
>
> It does make sense in moderation for quick scripts, examples, blog posts,
> etc., where you want to showcase your actual code, not draw attention to
> the list of imports. Though with the std.scripting (or whatever it was)
> now, it's perhaps less useful for some of these.
>
> But it likely shouldn't be used in "real" applications; in particular, I
> think it would be nice for the Phobos style guide to restrict/disallow its
> use.

If the concern is scripts, odds are that unless it made a significant
difference in compilation time, it would just be better to import the
modules without selective imports rather than trying to condense the
selective imports into as little space as possible, killing legibility in
the process.

- Jonathan M Davis



More information about the Digitalmars-d-announce mailing list