3 ms·
> Apparently, I stepped (through time and space) right into one of the most fiery subjects on SO (a site not known for calm and respectable discourse at the bes
by gryfft 2y ago
> Apparently, I stepped (through time and space) right into one of the most fiery subjects on SO (a site not known for calm and respectable discourse at the best of times):
> Are C and C++ two completely different languages?
> And, look. I don’t know. Obviously I wasn’t a C or a C++ expert then, am not one now and not even on the path of becoming one.
"Are Java and Javascript different languages? Who knows! But be nice to each other, which in this context means not downvoting answers from people who aren't familiar with the subject matter being discussed, I guess."
- joegibbs 2y agoReally, to be fair in this case it's more like "are Javascript and Typescript different languages though" seeing as C++ is, like Typescript to Javascript, almost a superset of C except for a few changes that break things.
- shprd 2y agoIn case of TS vs JS it's well advertised that: > existing working JavaScript code is also TypeScript code For C++, it's been decades since anything like that was true. > C++ is, like Typescript to Javascript, almost a superset of C except for a few changes that break things. "Almost" and "few changes" are doing some heavy lifting here. Advertising and insisting incorrectly that C++ is a superset is only doing harm to both languages and causing confusion like the one in the post. It might have been true some 30+ years ago, but let's stop spreading it (outside of historical context) and misinforming others. Please see: - https://en.m.wikipedia.org/wiki/Compatibility_of_C_and_C++ https://en.m.wikipedia.org/wiki/Compatibility_of_C_and_C++ - https://www.stroustrup.com/bs_faq.html#C-is-subset https://www.stroustrup.com/bs_faq.html#C-is-subset
- bawolff 2y agoIt also doesn't make sense because his answer basically told people to stop using c and use c++ instead. Like how can he both write an answer basically saying: c sucks use c++ instead, and also not know the difference between them.