C++ Logo

std-proposals

Advanced search

Re: Making parameter names clearer than func(true, false);

From: Hyman Rosen <hyrosen_at_[hidden]>
Date: Mon, 8 Jul 2019 14:22:38 -0400
On Mon, Jul 8, 2019 at 1:27 PM Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Yes. That's the result of badly designed APIs.
>

This is completely wrongheaded. Programming language design should be about
providing useful and consistent features for programmers to use. Named
argument
association has appeared in many different programming languages, including
Ada,
the poster child of languages designed for writing good programs. The
notion that
C++ standardization gets to judge that this feature in other languages is
in the service
of badly designed APIs is the sort of hubris that deserves to be struck
down hard by
nemesis.

Received on 2019-07-08 13:24:43