Anyone else feel scammed by learning C++98 ?

  • Context: C/C++ 
  • Thread starter Thread starter Jamin2112
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the perceived value and complexity of learning C++98 in light of newer features introduced in later versions of C++. Participants express their frustrations and opinions regarding the evolution of the language and its educational resources.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Technical explanation

Main Points Raised

  • One participant expresses frustration over the complexity of C++98, feeling that the knowledge gained is now rendered less useful due to newer features like auto and for-each loops.
  • Another participant questions the choice of learning C++ if simplicity is a priority, suggesting that there are simpler languages available.
  • A third participant comments on the high cost of programming books, implying that few are worth the investment.
  • One participant argues that programming languages naturally evolve over time due to community feedback, citing historical changes in Fortran and C as examples of significant evolution.
  • Another participant notes that the relevance of newer C++ features can depend on specific projects and hardware constraints, indicating that basic C++ and C still have practical applications.
  • One participant suggests that the breadth of knowledge gained from learning C++ can facilitate coding in other languages and platforms, emphasizing the importance of learning goals.

Areas of Agreement / Disagreement

Participants express a range of opinions, with some feeling that learning C++98 was a waste due to its complexity and the emergence of newer features, while others defend the evolution of programming languages and the ongoing relevance of foundational knowledge. No consensus is reached regarding the value of learning C++98.

Contextual Notes

Participants highlight the limitations of their experiences, including the subjective nature of programming language complexity and the varying relevance of language features based on specific use cases and project requirements.

Who May Find This Useful

Individuals interested in programming language evolution, educators in computer science, and learners evaluating the value of foundational programming knowledge may find this discussion relevant.

Jamin2112
Messages
973
Reaction score
12
I spent countless hours learning about and writing things like std::string::const_iterator. Now there's stuff like auto, for-each loops, etc. What a scam! I still have my C++ Primer book from 5 years ago. It cost me like $200 and what it taught me was uselessly complex.
 
Technology news on Phys.org
If you don't want to do things in an unnecessarily complex way, then why did you learn C++ in the first place? There are a lot of less complex languages out there.
 
And there are few programming books which are worth a fraction of $200.00.
 
I don't see how it's a scam. Programming languages change over time as a result of requests made to the committees who oversee them. The changes you (Jamin) list are peanuts in comparison to the changes made between Fortran IV and the newest variants of Fortran.

With regard to C, there are quite a few changes between C as described in K & R 1st edition and ANSI C of just a few years later. One area that is notable is the difference in how function parameters are declared. Here's an example of the older style.
C:
fun (arg1, arg2)
int arg1, arg2;
{
   /* body of fun */
   ...
}
 
Depending on what you work on, there is a lot of use for basic C++ and even C. The newer stuff is great when it works, terrible when it doesn't work, and irrelevant on hardware or projects that don't have or don't allow those compilers.
 
  • Like
Likes   Reactions: elusiveshame
It depends on what you want to do with your knowledge and goals. The more you learn, the easier it will be to code in other languages and on other platforms.
 
  • Like
Likes   Reactions: FactChecker

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 49 ·
2
Replies
49
Views
12K
  • · Replies 6 ·
Replies
6
Views
11K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K