C++ Logo

std-proposals

Advanced search

Re: [std-proposals] .first() and .last() in strings

From: Rhidian De Wit <rhidiandewit_at_[hidden]>
Date: Mon, 6 May 2024 15:36:25 +0200
Hi everyone,

Thank you for the discussion so far, it's been really interesting. You can
find my updated proposal in the attachment.

Sincerely,

Op vr 3 mei 2024 om 23:29 schreef Zhihao Yuan via Std-Proposals <
std-proposals_at_[hidden]>:

> On Friday, May 3rd, 2024 at 9:17 AM, Jason McKesson via Std-Proposals <
> std-proposals_at_[hidden]> wrote:
> >
>
> > Yes, `std::string` does not really have a "rich" interface; it has a
> > large interface. The problem is that this large interface is mostly
> > bad.
>
> If you put these facts together
>
> 1. Overloads reduce the number of names that people have to remember, and
> 2. Each std::string member name has a huge number of overloads
>
> You may realize that std::string interface is neither rich or large. It
> just... abused overloads too much to save names.
>
> --
> Zhihao Yuan, ID lichray
> The best way to predict the future is to invent it.
> _______________________________________________
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>


-- 
Rhidian De Wit
Software Engineer - Barco

Received on 2024-05-06 13:36:39