HI version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
0% Positive
Analyzed from 124 words in the discussion.
Trending Topics
#arr#sizeof#everything#adding#keep#fix#int#parsing#here#applies

Discussion (4 Comments)Read Original on HackerNews
Stop the press, they're adding what? So I don't have to keep adding #define count_of(arr) (sizeof(arr) / sizeof(*arr)) to every codebase and living with its failure modes?
I'm really loving C's character arc at the moment, where they keep going back to fix old problems instead of piling everything and the kitchen sink into the language.
I do wish they will start looking into proper arrays since there is already a syntax for this can can be augmented semantically: