3 ms·
> Array to pointer decay is extremely annoying, if it was implemented as Array to "slice" decay it would be great. It's not just annoying, it's the major sourc
by WalterBright 2y ago
> Array to pointer decay is extremely annoying, if it was implemented as Array to "slice" decay it would be great.
It's not just annoying, it's the major source of bugs in shipped code. A fix:
https://www.digitalmars.com/articles/C-biggest-mistake.html https://www.digitalmars.com/articles/C-biggest-mistake.html
- wolfspaw 2y agoI agree wholeheartedly, I really liked your article and fix. (In fact, I already had your article bookmarked xD, and I’m familiar with and truly admire your work)