DEV Community

Discussion on: Pitch me on C++

Collapse
stojakovic99 profile image
Nikola Stojaković

Horrible. That's like saying you're a bad builder because you're using machines for building a flat instead of putting bricks on top of each other.

Collapse
abhinav1217 profile image
Abhinav Kulshreshtha

No. He was not saying that. He was saying, you are not bad builder because you are using machines, you are bad builder if you are using machines, without understanding the basic concepts like how to put bricks by hand. Because sometimes, to get something done properly, you need to use your hands.
He was a great teacher. And often used these types of jokes to keep us interested in Maths and programming.

First of all, we were in middle-schools, (5-7 class) in mid-90s in India. He wasn't insulting us or the languages. This joke made us focused on practical stuff, not just whats in syllabus. We wanted to learn about basics of programming instead of just satisfied with examples at back of our books. And our syllabus didn't cover a lot of concepts.

And we conceptually wasn't wrong, Memory management in C++ is relatively easier than C, but the amount of control that C provided meant that your skills can directly impact the quality of resultant code.

Thread Thread
stojakovic99 profile image
Nikola Stojaković

No. He was not saying that. He was saying, you are not bad builder because you are using machines, you are bad builder if you are using machines, without understanding the basic concepts like how to put bricks by hand. Because sometimes, to get something done properly, you need to use your hands.

That's okay, you should know the basics before you start using more advanced tools.

And we conceptually wasn't wrong, Memory management in C++ is relatively easier than C, but the amount of control that C provided meant that your skills can directly impact the quality of resultant code.

That's right, but on the other hand, C++ is much more complex language considering it has templates and other advanced constructs compared to C.