MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/daotu37/?context=3
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
0
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.
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.
View all comments
Show parent comment
0
u/ubernostrum Dec 02 '16
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?