The post outlines the results of a survey regarding the introduction of a built-in array size operator in the next version of the C standard (C2y). The survey aimed to find a suitable keyword to replace macros for better type safety and less code conflict. 'countof' emerged as the preferred term for the new operator. The survey had over 1,000 respondents, primarily professional developers, reflecting significant interest and diverse opinions within the C community.

15m read timeFrom thephd.dev
Post cover image
Table of contents
The “What” Survey?How?The Results

Sort: