3 ms·
> Why is that even allowed any more? You ought to have to wrap "Unsafe" around it There have been a few different projects aiming to introduce 'proper arrays'
by MaxBarraclough 5y ago
> Why is that even allowed any more? You ought to have to wrap "Unsafe" around it
There have been a few different projects aiming to introduce 'proper arrays' into C, but they never get traction, even when carefully designed for good backward compatibility. C is seemingly just too resistant to change. Here's Walter Bright's suggestion. [0]
Aside: why is the word story so popular on Hacker News these days? We can just say C doesn't have decent arrays. We aren't discussing its history, we're discussing a specific technical facet of the language.
[0] https://www.digitalmars.com/articles/C-biggest-mistake.html https://www.digitalmars.com/articles/C-biggest-mistake.html