Date: Wed, 14 Sep 2022 10:11:52 -0400
On Wed, Sep 14, 2022 at 9:33 AM blacktea hamburger via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Thanks. So can you explain why other languages (like D) have UFCS? How do they solve these problems? Or do they simply not care about them?
Since we're talking about "large-scale programs", is D a language that
should be discussed in that context?
Note that Ville specifically pointed to a change from one thing to
another. If it had always been the other thing from the start, then
you could argue that UFCS is fine, because there is no existing code
that had different expectations. But that's not C++.
You cannot treat an existing language with literally billions of lines
of code like a playground/testbed upon which you can make whatever
changes you want. Changes like UFCS which change *fundamental
assumptions* upon which various code was written is... complicated.
Even if what you're changing it to is manageable, it's still forcing a
new set of base assumptions upon code that was never written to handle
those assumptions.
<std-proposals_at_[hidden]> wrote:
>
> Thanks. So can you explain why other languages (like D) have UFCS? How do they solve these problems? Or do they simply not care about them?
Since we're talking about "large-scale programs", is D a language that
should be discussed in that context?
Note that Ville specifically pointed to a change from one thing to
another. If it had always been the other thing from the start, then
you could argue that UFCS is fine, because there is no existing code
that had different expectations. But that's not C++.
You cannot treat an existing language with literally billions of lines
of code like a playground/testbed upon which you can make whatever
changes you want. Changes like UFCS which change *fundamental
assumptions* upon which various code was written is... complicated.
Even if what you're changing it to is manageable, it's still forcing a
new set of base assumptions upon code that was never written to handle
those assumptions.
Received on 2022-09-14 14:12:47