DEV Community

Cover image for Wanna learn a new language? Why not C++?

Wanna learn a new language? Why not C++?

Muhimen on April 12, 2020

Lately, I've been thinking to learn a new programming language to boost up my programming career. I already knew Python and C#. I use Python for my...
Collapse
 
mburszley profile image
Maximilian Burszley

why not c++

Because Rust 😂

Collapse
 
readredready profile image
Charles Gibson • Edited

Verbatim my knee jerk response.

C++ seems nifty if you are trying to get a well paying niche job, but if you don't plan on entering the C++ workforce in the next couple years I can't imagine it would be more rewarding than learning Rust.

(Absolutely DO NOT take my response as expert opinion. I know nothing and have done nothing, it just seems like the future from what I've seen.)

Collapse
 
muhimen123 profile image
Muhimen

That's a good choice though

Collapse
 
robenkleene profile image
Roben Kleene

C++ has a reputation of being for legacy code bases, but that's demonstratively false, especially for graphics-intensive applications. The two most recent new applications to gain real traction in graphics-intensive fields are the Affinity line from Serif (released 2014) and Figma (released 2016), both have graphics engines written in C++.

There's a new industry-wide trend of calling technologies that are used for the most successful, new, bleeding-edge software "legacy". Calling C++ a legacy language is part of that. C++ will be legacy when new, important, software is no longer written in it. That's not true today, and since I'd personally consider Figma the most important new application of the last decade, I'd say the exact opposite is true.

Collapse
 
ziizium profile image
Habdul Hazeez

If I could like your comment like a million times trust me I will.

In addition, thank you for this statement:

There's a new industry-wide trend of calling technologies that are used for the most successful, new, bleeding-edge software "legacy".

If I could I'll make a poster out of it and show it to every beginner programmer that gets discouraged by reading "advice" on the internet that a programming language is not worth learning because it is "legacy".

I might as well add that if they want to work on a project it's best to do research on the domain-specific language, rather than asking on the internet something like "I want to develop a desktop application what language should I learn?". There is a high probability they will get responses suggesting the "new" and "trendy" technology.

Collapse
 
juancarlospaco profile image
Juan Carlos

I code Nim lang, it made me learn C, C++, JavaScript too, so yeah I think C++ is good,
but just not for me, I want the features of Rust, with Python-like syntax, speed of C,
and runs on the browser and interpreted.
:)

Collapse
 
muhimen123 profile image
Muhimen

That's really a high demand I might say. 😉

Collapse
 
silvether profile image
silvether

Hmmm, Rust, Go, Swift, ill pass on C++.

Collapse
 
virt12 profile image
virt12

Hello Muhimem. Pls I am creating EEG analysis desktop app in pyqt5. I have issues counting EEG signals peaks per 1 sec. Help me out. Share your contacts I will sent my files.

Collapse
 
qm3ster profile image
Mihail Malo

Conduct like this will not be tolerated.
The police are on their way.
Don't bother deleting your comment, it is in the database.

Collapse
 
muhimen123 profile image
Muhimen

😅

Collapse
 
delta456 profile image
Swastik Baranwal

I hope you know that you will learn C in C++ first.

Collapse
 
muhimen123 profile image
Muhimen

2 years ago when I first wrote my hello world program, that was in C. So, yeah!

Collapse
 
muhimen123 profile image
Muhimen

Consider joining our Discord server for any kind of help, or to help others.
discord.gg/ZvGcPjZ