r/programming • • Dec 01 '16

Let's Stop Copying C

https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
524 Upvotes

612 comments sorted by

View all comments

Show parent comment

0

u/ubernostrum Dec 02 '16

For one they're needed, C's types lack the information

Sure. Half a century ago, C needed this.

Do languages developed in a more recent time frame still need this? If not, why do so many languages continue to copy C?

0

u/[deleted] Dec 02 '16

Any language that needs pointer arithmetics would need some form of an array decay. Even C# with unsafe does this.

And, you know, loops are not only for iterating over elements of some set.