Date: Fri, 03 May 2024 21:29:46 +0000
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.
>
> 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. _______________________________________________
Received on 2024-05-03 21:29:53