C++ pattern matching is coming
Imperatorn
johan_forsberg_86 at hotmail.com
Tue Oct 25 09:56:34 UTC 2022
On Tuesday, 25 October 2022 at 06:40:01 UTC, Araq wrote:
> On Monday, 24 October 2022 at 20:38:59 UTC, Walter Bright wrote:
>> [...]
>
> 1. Nobody should care about strcpy in 2022. It was a poor
> design back then and now it's ridiculously foolish.
> 2. You already have multiple pointer types in D, there is
> const*, immutable*, scope*... It's just that these multiple
> pointer types still don't get the job done because these don't
> deal with ownership nor memory regions effectively.
> 3. What does not scale is reason by analogy. "In DOS there were
> NEAR and FAR pointers so having multiple pointer types does not
> work so let's conflate traced and untraced pointers." No
> mainstream language that came after D copied this brilliant
> design of yours, maybe it's time to wonder *why*.
You have some points, but do you have some constructive
criticism? What *should* be done, instead of what should *not* be
done?
More information about the Digitalmars-d
mailing list