Date: Fri, 11 Sep 2020 23:08:38 +0200
On Fri, Sep 11, 2020 at 03:28:24PM +0200, Richard Hodges via Std-Proposals wrote:
> All that remains now is for someone to write a paper, in which is laid out
> the motivating use case, a demonstration that existing language features
> are limiting productivity and an impact assessment.
But you will need something a bit more convincing than saving 10
characters in some cases at the expense of introducing some fairly
obscure syntax.
Compilers are very good at parsing code, the human brain maybe not so,
e.g.
foo({ 1, 2 });
foo(C{ 1, 2 });
foo(({ 1, 2; }));
Luckily, there are static analysis tools...
> There is already a compiler supporting the feature, so that's in the
> paper's favour.
>
> I suspect the biggest problems would be:
> a) convincing everyone that the existing lambda syntax is not sufficient
http://wg21.link/p0977 will likely be brought up here
Christof
> All that remains now is for someone to write a paper, in which is laid out
> the motivating use case, a demonstration that existing language features
> are limiting productivity and an impact assessment.
But you will need something a bit more convincing than saving 10
characters in some cases at the expense of introducing some fairly
obscure syntax.
Compilers are very good at parsing code, the human brain maybe not so,
e.g.
foo({ 1, 2 });
foo(C{ 1, 2 });
foo(({ 1, 2; }));
Luckily, there are static analysis tools...
> There is already a compiler supporting the feature, so that's in the
> paper's favour.
>
> I suspect the biggest problems would be:
> a) convincing everyone that the existing lambda syntax is not sufficient
http://wg21.link/p0977 will likely be brought up here
Christof
-- http://cmeerw.org sip:cmeerw at cmeerw.org mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org
Received on 2020-09-11 16:12:13