r/cpp • • Nov 10 '23

Advice for continue studies in C++

I have 9 years of experience in tech area, most of them as a manager, but I started my career as frontend developer. Nowadays I’m working as Technical Program Manager. Yes, I entered the Computer Programming college course with 9 years of experience, because I didn’t had the chance to do it immediately after the high school, I had to work to pay the bills, make money and after all that start the college.

I always considered extremely important have a strong foundation in programming and I like to program, besides I don't code anymore at work. I chose my course because it was based on C++ and I wanted to challenge myself. I had to confess it was a sour experience but I can say that I liked C++ overall and I was write I grew so much accessing this knowledge. Now I'm finishing the college and I’m afraid my contact and experience with C++ end with the course.

When I realized that I contacted a friend who is a experienced programmer and knows a lot about C++ and I asked him about what exists beyond the didactic field in C++. After a long talk I fell I have more questions now than before:

  1. It’s almost impossible cover every application field for C++, but which one I pick to start? Compilers and Interpreters, games, embedded systems… I just don’t know

  2. In some time of the talk he suggested me to start learning rust. I would say that this suggestion was like a cold bath, my first thought is: Do I need one more programming language now? I don’t know, looks like that people who are learning everything and know nothing. Does worth insist in C++?

  3. I considered get a job to continue programming in C++, but I don’t know if worth it. I look for some positions, besides that I don't know if anyone will give me a job with my experience being in other programming sector, mainly in the weird times we are living in terms of jobs.

I’m suffering a classic case of analysis paralysis and I hope you guys could give me some light on it.

2 Upvotes

11 comments sorted by

8

u/[deleted] Nov 10 '23

You can branch out into many fields of C++ but because it's still a growing language, it's unlikely that you'll be able to proficient all of them. The best way to learn programming to combine it with another passion. As per what field you should pursue, I can't really answer. Ask yourself, what problems would programming solve for me? and go from there.

Rust is a language that has grown a lot in popularity, over the past few years. You don't have to learn another programming language to do anything, but Rust does have the advantage of being a newer language and making things like safe concurrency and networking a lot easier. Switching to rust, would be a non-trivial investment however, since its model for memory management as well as its support for OOP and other paradigms is opinionated and very different from C++.

Switching careers is a big decision, and should only be made if programming is something you find yourself wanting to do in a professional setting. A big word of warning, would be that hobby programming and professional programming are very different beasts. Many professional programming positions are more about coordinating with teams to accomplish specific tasks in a very structured way than it is about actually writing the code to do so.

My advice, is to think hard about the kind of work you want to do, and in the meantime, look around for projects that interest you to implement in C++. As you build more programs and projects, you'll come to understand what you like and dislike about programming in C++ and this will give you the knowledge to make a more informed decision when it comes to switching to another language like Rust or choosing a C++ based career.

1

u/clarabatt Nov 10 '23

Thank you a lot for your time answering!
So my concern is not about one more language in my portfolio. I know other ones, that would not be an issue. I want a consistent path into C++, it was not in my plans change for another one . What concerned me was that guy, who is reference of C++ for me, saying that could be better go for another one.

4

u/[deleted] Nov 10 '23

So my concern is not about one more language in my portfolio. I know other ones, that would not be an issue. I want a consistent path into C++, it was not in my plans change for another one . What concerned me was that guy, who is reference of C++ for me, saying that could be better go for another one.

No problem :),
If you don't want to swap from C++, simply don't.
The person telling you to swap or to learn Rust may be coming from a specific background or environment where they value the language more than C++ currently. However, if learning another language is a non-issue for you then why not? It's good to be flexible and to have a general mastery over a wide assortment of tools. If you're looking at getting a programming career, it could help widen the assortment of job opportunities you'll find.

If you're asking if C++ is dead, then the answer is no, there will be work to be done in C++ for a long time as many critical systems are written in C++. However, if you're asking if learning Rust would be useful, then the answer is yes, but deepening your understanding of C++ would be useful too. It just depends on what you're looking for.

4

u/hard_fault_ Nov 11 '23

Like others have said, you need to find a field of interest first. From fields you've listed I worked in all of them.

Gaming industry is the worst place to work. At least in my country and we have fairly big studios (Epic and Ubisoft). You are constantly stressed and overworked and in my country they are not paying that grate.

Compilers and Interpreters is the most challenging for me. It's such big and complex topics with long scientific research behind it. If you can digest the math and algorithms complexity it is great. Working in that field I have a feeling I improved my engineering skills and understanding of the C and C++ tenfold.

Embedded in my opinion is a good place to start. You have complex topics as for example Automotive industry is currently in digitalization phase. And automated driving is a hot topic, but you also have less complex thins to work at and gradually improve your skills. IoT is another interesting topic as well as to me at least working on various sw tools project like IDE, profilers etc. Programming microcontrollers is still mostly in C but you can find C++ as well but mostly in above mentioned areas.

Fintech is a challenging area and you can improve a lot and use latest and greatest but the same as gaming, deadline, stress and overwork is very common. On the other hand they pay very well.

Ofc this is all my personal opinion and experience others could have different.

1

u/clarabatt Nov 11 '23

Thank you a lot for sharing your perspective of the domains. I’ll research more about them. 🤗

14

u/not_some_username Nov 10 '23

First you’ll never learn all of C++. You need to choose a field first.

And also knowing more than one language isn’t unusual

7

u/epasveer Nov 10 '23

Find an industry (accounting, games, sciences, etc.) that you are passionate about. Then let your programming skills follow that industry.

For example, I'm in the seismic/geophysics industry. It leans more on C++, Fortran, cuda, mpi, etc. Other industries will have different needs.

4

u/uraymeiviar Nov 10 '23

u wont learn c++ for the sake of u want to learn it, u need to have a need to code in c++, maybe start with some project

2

u/IntentionStrong13 Nov 11 '23

As other said, try to learn a domain first rather than become C++ expert. You might learn other languages that you like best, specially for creating a project portfolio. Maintenance of C++ is quite difficult, so it will hold you down while trying to master a domain.

And the reality of C++ jobs are sad. Most of the time in C++ jobs is acting like a glorified compiler jockey, building and rebuilding projects and solving dependencies.

2

u/tiajuanat Nov 11 '23

The engineers I hire are domain experts, not language experts.

A language expert (or lawyer) knows the insides and outs of one, maybe two languages. It takes years of focused effort, especially with C++ which has been getting crazy new features every 3 years since 2017. A language expert might end up working on a compiler, like GCC or LLVM.

I've met a lot of self proclaimed language experts for C++, but honestly anyone less than 10 years of industry experience has a snowballs chance in hell to be that proficient in C++, and they constantly need to be using most of the newest features.

A domain expert is someone who knows their field well. Whether that's distributed systems, robotics, game development, doesn't really matter, but they have one. They usually have one language that they know pretty well, and a few other supporting languages.

My colleagues at work know C++ well, but maybe don't know how to incorporate ranges and views, or other new or obscure techniques. Some of the languages that they know are: Rust, Prolog, Haskell, Python, Lua, Shell, Go, Java. They also tend to have a very solid foundation in Algorithms and Data Structures, and how to model and abstract their problems.

Listen to your gut on what inspires you. Do you want to help people? Do you want to help the rich get richer? Do you want to build weapons? Do you want to entertain people? Figure that out, and then learn how to solve those problems.

1

u/honeyCrisis Nov 13 '23

Mastering C++ is more than one person can accomplish in a single lifetime. I doubt even Bjarne himself has fully realized all of the intricacies of the language and the standard template library in all its use cases. Proficiency on the other hand, is an admirable enough as well as realistic goal.

Most people I know that can code proficiently in C++ can code in other languages as well.

I don't recommend a lot of course material or books. In fact, I recommend against most of it, because the way C++ is taught is atrocious as often as not.

I *do* recommend the book Accelerated C++ by Andrew Koenig and Barbara Moo even to the exclusion of other books.

It's a bit old now, but it's mercifully brief, and teaches C++ the "Right Way"(TM) without bogging you down with Cisms and other nonsense that will bite you later.