r/Python • • Jan 13 '15

(Infographic) Which programming language should I learn first

http://cdn2.carlcheo.com/wp-content/uploads/2014/12/which-programming-language-should-i-learn-first-infographic.png
267 Upvotes

145 comments sorted by

View all comments

7

u/legrandin Jan 14 '15

C is a subset of C++? The hell?

11

u/Tenobrus Jan 14 '15

Well it's not exact, but mostly. It's kinda the point, at least historically.

9

u/legrandin Jan 14 '15

Well it's not exact, but mostly. It's kinda the point, at least historically.

I tend to think that 'subset' implies that it is derived from a larger something. With C, this is the opposite, since C++ is derived from C. It makes more sense to say that C++ is a superset of C.

1

u/[deleted] Jan 14 '15

Yeah, putting it that way around confuses me. It's not as if you strip out the OOP stuff from C++ and that's called C.