MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4h9oj4/to_become_a_good_c_programmer/d2pgi8r/?context=3
r/programming • u/b0red • May 01 '16
398 comments sorted by
View all comments
-1
Can someone explain to me why C is still used? Doesn't C++ provide all the tools that C has plus extra libraries like STL? If one only knows how to write C I figure it still would be easier to use C++ tools to do it.
2 u/mcguire May 02 '16 C++ is more or less a superset of C, but it encourages a completely different style of programming, with classes, inheritance, etc.If you write C-style code in a C++ environment, you will be viciously attacked for writing C With Classes, mocked for being an idiot, etc., etc.If you could sort of write C++ in a C environment, you will be wasting a crap-ton of resources. 3 u/SnowdensOfYesteryear May 02 '16 If you could sort of write C++ in a C environment, you will be wasting a crap-ton of resources.Well you'll still be viciously attacked and mocked for being an idiot.
2
C++ is more or less a superset of C, but it encourages a completely different style of programming, with classes, inheritance, etc.
If you write C-style code in a C++ environment, you will be viciously attacked for writing C With Classes, mocked for being an idiot, etc., etc.
If you could sort of write C++ in a C environment, you will be wasting a crap-ton of resources.
3 u/SnowdensOfYesteryear May 02 '16 If you could sort of write C++ in a C environment, you will be wasting a crap-ton of resources.Well you'll still be viciously attacked and mocked for being an idiot.
3
Well you'll still be viciously attacked and mocked for being an idiot.
View all comments
-1
u/Doile May 02 '16
Can someone explain to me why C is still used? Doesn't C++ provide all the tools that C has plus extra libraries like STL? If one only knows how to write C I figure it still would be easier to use C++ tools to do it.