C vs C++ | Which Should you Learn?

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

Рекомендации по теме
Комментарии
Автор

Which do you prefer? C or C++?
If you want to join my newsletter to get new C++ content and updates on courses, join here:

codebreakthrough
Автор

As someone who leaned C in 1983 and C++ a few years later, I'm going to suggest you lean C first and then migrate to C++. This advice is often rejected by teachers. The usual excuse is that newer programmers don't need to learn all the lower level stuff. However C++ was not designed up front with the standard library and sooner or later you will have to dig down into the core of the language, if you really want to get the most out of it. I've seen A LOT of new C++ programmers that get overwhelmed by the language trying to learn everything all at once. Some never really figure out how it all works. Trust me, learn C first, then add on classes, templates, and then the standard library. If you do it that way you will wrap your head around everything much easier. Except for some corner cases C++ is backwards compatible with C, so you lose nothing by learning C first.

zemlidrakona
Автор

I'm a hobby programmer and retired. I love to to code and I'm also a Dane, so of course I had to learn C++. My wife needed a kind of CRM and I thought I could learn C++, while writing a relation database. It took about 6 months, before my wife stopped to demand features and got rid of known errors. The quality of the code in the beginning and in the end is very different, but I survived. :o)

After a while, I decided to to the big rewrite and about 5000 lines later I found myself writing more and more C like code, but had the job finished.

It's much more intuitive for me to use printf, time instead of cout or chrono with a "million" scope resolution operators.

But I don't need a job and I'm coding for fun and spend my time on logic instead of trying to understand awkward error messages and a endless language.

grimvian
Автор

Caleb, I notice you give pretty good advice. One piece of advice which actually worked out for me was Django. You created a video stating if you want to create a website you can jump right into learning Django and learn Python along the way and you were right. I took your advice and learned Python along the way. Great video.

DevlogBill
Автор

More videos! I watched your C tutorial and liked it a lot!!!

Alex.Shalda
Автор

Thanks for the info brother, always awesome advice

frankcastellanos
Автор

You probably want to learn C first then C++. Since C is simpler and doesn't have all the C++ nonsense you will have an easier time learning it, probably best to learn C until you are somewhat used to memory management and then C++.

VictorRodriguez-zpdo
Автор

This is the first video of yours that i see, i barely dabbled in c and used c++ once for a robotics class in college, yet you explained the differences in a way that even i understood everything. Thank you, i believe your channel will keep me occupied for the foreseeable future

reezuleanu
Автор

Great vid, I do miss the part where you explain the cost of all those features like str classes instead of char arrays. E.g. are there perfomance differences?

Jobyt
Автор

What about the performance and speed in terms of C vs C++

deepakagarwal
Автор

Can't go wrong with either one of them

staticage
Автор

Real chads use the GNU dialect of C to shoehorn object oriented programing in C!

speedytruck
Автор

What do you think his favorite color is?

coleblender
Автор

You should mention the more modern features like constexpr, concepts, ranges, attributes, views, the algorithms library

TheBuilder
Автор

I would say if you want to learn programming learn C and if you want to learn a complex programming language learn C++.😉

knofi
Автор

I disagree with this.

First, looking at the TIOBE ranking it is clear that C++ is used a lot less than C. Java, C and Python are the high-ranking languages. C++ is way down the line.

Second, you cannot get a job as a C++ developer by “learning“ C++. This is because learning C++ at a professional level takes at least 10 years, maybe 15. Recruiters know this. That is why there are more job openings for C++ developers. There are very few that can actually use it at a level required in the industry, and so jobs stay vacant. So you will not get any of these jobs unless you have tons of experience with it.

As for object orientation: If you think you need this, you are better off using Java anyway. That is why C++ is dying. All the momentum behind it is gone. C is still going strong.

sturlamolden
Автор

You should let Odysee sync your vids! Odysee is another video platform.

oglothenerd
Автор

I am watching this video from India, this is my favorite channel 😍

Favourite
Автор

it's 21st century. learn Zig, a modern C successor.

hiongun
Автор

Should we even bother with coding after chat gpt 4

Markdim