2 ms·
> Then again, nearly none of the syntactic C features post-C89 have been very compelling or widely adopted. That's Microsoft's fault; it's 2020 already, and un
by cesarb 6y ago
> Then again, nearly none of the syntactic C features post-C89 have been very compelling or widely adopted.
That's Microsoft's fault; it's 2020 already, and unless things changed since I last looked, their compiler still doesn't have full support for the C99 standard.
Even then, some of the C99 syntactic features have been somewhat widely adopted (at least when not compiling for Windows); off the top of my head, we have "//" comments, declarations in the middle of a block, and designated initializers.
- pjmlp 6y agoThey fully support C11 and C17 now. Everything that was moved into optional in C11, like VLAs, is not planned to ever be supported.
- CyberRabbi 6y ago“Somewhat widely adopted” is not “widely adopted” :) I see people tend to write C89+designated initializers but this is a code smell IMO. Initial data should always be 0, especially data that lives in BSS/data section.