jackson6612 said:
I have always been under the impression that learning an unnatural language such as a computer language, e.g. C or C++, is all about memorization as is learning DOS commands. Is this really so?
No. To make two analogies:
Learning how to write an essay or book (i.e. more than a sentence or two) in a natural language is about more than memorizing grammar rules and the meanings of words. You have to learn how to organize your ideas in a logical way, and express them clearly and hopefully elegantly. You have to become familiar with basic patterns of writing. You have to practice a lot, and be ready to re-write things so they come out better.
Learning how to play chess effectively is about more than memorizing the rules for moving pieces. You have to learn strategy, and become familiar with basic patterns of play. And you have to practice a lot.
Similarly, when you learn a programming language, you have to learn more than the rules for writing "commands." (In a programming language, we usually call them
statements.) You have to learn how to organize the program's actions and data into a logical and effective whole. You have to learn the common ways of doing various standard tasks (algorithms) and of organizing data (data structures). And you have to practice a lot, and be ready to re-write programs when you realize that you could have done it a different and better way.
Introductory programming courses usually focus on the rules for writing various kinds of statements (if-statements, loops, etc.), but they also introduce you to some basic algorithms and data structures. Beyond that, a computer science student takes whole courses in both algorithms and data structures.
By the way, Why is it "C++" and not something else such as C+++++?
In C and in C++, one way to add 1 to the contents of a variable is to use the ++ operator. If the variable "n" contains 5, then "n++" makes it now contain 6. That is, "n" now contains the "next number after 5."
C++ is basically C with a lot of new features added. So, "C++" is the "next language after C".
