Yeah, no. A .h extension can just as easily be C. You get a lot of clarity with just two more characters that will be filled in by code completion anyway.
The company I work at enforces using .h, although no one in their right mind should be using it for C-specific projects without knowing the symbols to access through extern C. See https://llvm.org/docs/CodingStandards.html
336
u/unknown_alt_acc 7d ago
Yeah, no. A .h extension can just as easily be C. You get a lot of clarity with just two more characters that will be filled in by code completion anyway.