Hacker News new | past | comments | ask | show | jobs | submit login

> 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




I 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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: