2 answers
Asked
410 views
Why is c++ considered one of the toughest languages to learn?
Why is c++ considered one of the toughest languages to learn?
Login to comment
2 answers
Updated
Harish’s Answer
C++ is generally considered tough because you need to understand concepts such as pointers, memory management, and templates to be able to use it effectively. Though C++ is simply another programming language at the end of the day, pointers/memory management/templates may take some time to get used to.
It's syntax is also tougher to learn than languages such as python. Templates may be tough to learn, and debugging STL may be tough as well. Similar to Java, C++ is statically typed, which means you must declare the data types of all your variables before running the program; you can't just declare variables without data types, like you can in python.
But if you practice C++ and get good at it's syntax and required concepts, you'll enjoy C++'s speed and versatility. Your C++ skills will also transfer over to Java, and you'll be a good Java programmer.
Learn the basic syntax of C++
Learn the various basic concepts, such as pointers/memory management/templates
Make a basic project in C++
It's syntax is also tougher to learn than languages such as python. Templates may be tough to learn, and debugging STL may be tough as well. Similar to Java, C++ is statically typed, which means you must declare the data types of all your variables before running the program; you can't just declare variables without data types, like you can in python.
But if you practice C++ and get good at it's syntax and required concepts, you'll enjoy C++'s speed and versatility. Your C++ skills will also transfer over to Java, and you'll be a good Java programmer.
Harish recommends the following next steps:
Updated
Venkat Raghavan’s Answer
Almaz, you can always start with the basics and slowly get into advanced concepts. That is true for learning almost anything.