2 ms·
Both which ways? C was adopting C++ features before C90. Void type, function prototypes, scoped struct member tags. Declaration syntax is not an impediment to
by ncmncm 5y ago
Both which ways? C was adopting C++ features before C90. Void type, function prototypes, scoped struct member tags.
Declaration syntax is not an impediment to safety or to static analyzers, except insofar as it is trickier to code a parser for them.
- pjmlp 5y agoIt is in the sense that pointers everywhere cannot be prevented and it isn't always easy for a static analyser to actually make sense of how they are being used, as shown at some CppCon talks this year from Microsoft.
- ncmncm 5y agoDeclaration syntax has nothing to do with "pointers everywhere".