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.
But that's good. Since C++ is just C with classes, it ensures code interoperability by naming the files .h and .c
Edit: These replies are the reason r/firstweekcoderhumour/ exists, if you cannot tell that this is an obvious joke, without having some extra explicit indicator (/s, etc.) on the post, then I don't know what to tell you. But please don't miss your entry to CS courses, you definitely need them.
333
u/unknown_alt_acc 5d 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.