[OT] Dennis Ritchie's proposal for slices in C

user1234 user1234 at 12.de
Mon Dec 9 12:06:33 UTC 2024


On Sunday, 8 December 2024 at 22:48:17 UTC, Paul Backus wrote:
>
> It's honestly kind of incredible that the C committee has been 
> sitting on this for more than 30 years. What the heck were they 
> thinking?

Just a supposition but maybe that stdc was percepted as a blocker 
?

As C has no overloads, no mangling, then supporting slices in 
stdc would have lead to an atrocious system of "wrap & dispatch" 
using-macros or IDK what else (prefixes or suffixes in the names 
of the variants accepting slices ?).


More information about the Digitalmars-d mailing list