4 ms·
Comments, typedef wrappers, initialising structs? C is great for what it is, but does this article really knock down the "C is a subset of C++" argument?
by mrkeen 4y ago
Comments, typedef wrappers, initialising structs?
C is great for what it is, but does this article really knock down the "C is a subset of C++" argument?
- rightbyte 4y ago"C is kinda a subset of C++" is close enought for any non language lawyer. The author names C99 feutures that has been in GNU C89 since whenever. I mean. C is whatever compiler you use. Some people just care too much about what ISO says.
- flohofwoe 4y agoIn general I agree that the C standard isn't really relevant for day to day work and that it matters more what compilers actually implement, but a C library author needs to follow the users, and that means at least supporting GCC, Clang and MSVC (and the MSVC C frontend follows the C standard much more strictly than GCC and Clang).
- rightbyte 4y agoYe I agree.
- kevin_thibedeau 4y agoMS can pound sand. They ignored C99 for over a decade. It's on them to support common extensions if they want to have a viable C compiler.