Can anyone tell me if c++ is worth learning?
-
Was just wandering if c++ is worth learning or is it outdated?
-
Was just wandering if c++ is worth learning or is it outdated?
It depends. What do you want to do with it?
-
It depends. What do you want to do with it?
I want to make software in the windows enviornment
-
I want to make software in the windows enviornment
What kind of software?
-
What kind of software?
Mainly database type software.
-
Mainly database type software.
In that case you'd probably be best to focus on what other languages you know. If you don't know any fitting languages then C# would be a good bet. For Windows software it'll be comparable (not as fast, but you the difference will be tiny) to C++ in terms of performance, but easier to write because there's a lot of simple tooling for C# User Interfaces and Database programming. If you want to write some really high performance software, or if you want to just improve your understanding of how languages work at a lower level, then it's still worth learning C++ (or C). In fact I'd still recommend learning it for your own education, but to be pragmatic if you want results, or a job you'll probably get a lot further with newer managed languages like C# - or web technologies.
-
In that case you'd probably be best to focus on what other languages you know. If you don't know any fitting languages then C# would be a good bet. For Windows software it'll be comparable (not as fast, but you the difference will be tiny) to C++ in terms of performance, but easier to write because there's a lot of simple tooling for C# User Interfaces and Database programming. If you want to write some really high performance software, or if you want to just improve your understanding of how languages work at a lower level, then it's still worth learning C++ (or C). In fact I'd still recommend learning it for your own education, but to be pragmatic if you want results, or a job you'll probably get a lot further with newer managed languages like C# - or web technologies.
Thanks for your input. I have a lot of thinking to do.
-
Was just wandering if c++ is worth learning or is it outdated?
I think C++ is very much worth learning. However, that doesn't mean it's the best solution for every problem. For database front ends in Windows, C# tends to be a better choice. OTOH, I vastly prefer C++ and Qt over C# and WinForms/Xaml/whatever.
-
Was just wandering if c++ is worth learning or is it outdated?
-
It is math worth learning? Yes, I guess.
C++
is not outdated. It is difficult, it is a bit Byzantine.CPallini wrote:
C++
is not outdated. It is difficult, it is a bit Byzantine.A major problem which C++ inherits from C is that the authors of the Standard made no effort to identify every action that commonplace implementations should be expected to process in an obvious useful fashion. They did not expect that failure of the Standard to require that compilers behave usefully would be interpreted as an invitation for compilers to do otherwise, and thus saw no reason to try to make the Standard "bulletproof". At the time the first Standards were written, such things didn't really matter. Unfortunately, some compiler writers discovered that if their compiler assumed that programs wouldn't make use of some commonplace constructs which had, until then, been unanimously supported, they could generate more "efficient" code. Such "optimizations" would make the compiler unsuitable for processing any programs that had exploited the behavior in question, but compiler writers were able to able to argue that any program which relied upon such behavior was "broken", notwithstanding the facts that the Standard expressly recognizes the legitimacy of non-portable programs and the published rationale regards support for features beyond those required by the Standard as a "quality of implementation" issue. Rather than recognizing that the Standard makes no attempt to describe everything necessary to make an implementation suitable for any particular purpose, but that there are many purposes for which implementations cannot be suitable unless they go beyond what the Standard requires, the authors of the Standard added more rules in an effort to ensure that there would be some Standard-mandated way of performing the actions which implementations had previously supported without a mandate. The net effect of this is that there are a bunch of ambiguous rules that nobody can possibly understand, because even the people who wrote them had inconsistent ideas about what they were supposed to mean. Further, compiler writers have successfully vandalized the language to require that programmers jump through hoops to do things that had previously been much easier.
-
In that case you'd probably be best to focus on what other languages you know. If you don't know any fitting languages then C# would be a good bet. For Windows software it'll be comparable (not as fast, but you the difference will be tiny) to C++ in terms of performance, but easier to write because there's a lot of simple tooling for C# User Interfaces and Database programming. If you want to write some really high performance software, or if you want to just improve your understanding of how languages work at a lower level, then it's still worth learning C++ (or C). In fact I'd still recommend learning it for your own education, but to be pragmatic if you want results, or a job you'll probably get a lot further with newer managed languages like C# - or web technologies.
Try not to learn C++ for passing an exam or inspiring somebody, do it for the interest and the readiness to learn. You'll take in more and your advantage will increment. "Endeavor TO CODE IN THE IDE, MAKE MISTAKES AND LEARN". Again don't attempt to repetition or by-heart the stuff, commit errors and your mind will make affiliations that: "no doubt I committed an error while arranging that, it won't occur twice, that is the way you learn." My suggestion is follow this link to learn more