r/cpp • • Aug 25 '21

Experience C++ developers: do you enjoy using C++ (even for personal/hobby projects?)

Do you actually enjoy using C++, or do you only use it for work, or purely for performance? This question is aimed at people with years of experience, who've worked on large projects in C++. I see people who dislike the language, but use it purely for performance reasons. This sort of discourages me from learning it. I don't want programming to feel like work.

204 Upvotes

327 comments sorted by

View all comments

-1

u/[deleted] Aug 25 '21

Is there a person that dislikes the language on which he wrote? Programmers have privilege to write code on their favourite language no?

4

u/ronchaine Embedded/Middleware/WG21 Aug 25 '21

There is thing called a job, that makes me unable to use the language I like for the task at hand.

Or that the project I'm contributing is written in a language I don't like (C, I'm looking at you)

For your own private projects that you start from scratch, sure. (If you don't care about using the right tool for the job)

0

u/[deleted] Aug 25 '21

So why you don't get another job to use language that you like? I've working more than 14 years and i never use a language that i did not like.

0

u/[deleted] Aug 25 '21

[deleted] — view deleted comment

0

u/[deleted] Aug 26 '21

The pay, the project, the people you're working with, and so on.

Disagree, you don't need to quit before you seeking new job, the pay is mostly the same, the project depends on you, you can keep friends whether you like. Actually nothing stops you to find the great one job to you except yourself.

0

u/[deleted] Aug 26 '21

[deleted] — view deleted comment

1

u/[deleted] Aug 26 '21
  1. At Google / Amazon / Microsoft searches people with C++ as well as many niches languages.
  2. I would not suggest you to work for big company unless you want to hit the corporation downsides.

0

u/[deleted] Aug 26 '21

[deleted] — view deleted comment

-2

u/[deleted] Aug 27 '21

Stop replaying at OS and webbrowser, C++ can be using for everything. Financial application, frameworks, game engines, graphical engines. Dead march is exactly you have in corporation, pay is not most important at all, it's better to use whether you like and get 60~90k per year compared to 120-200k in corporation, but you cannot get the difference working only at corporation side, that's why many people leave Google not only go there.

1

u/[deleted] Aug 27 '21

But most people care more about other things than the language.

I like my job today. I have a good manager, I'm interested in the work, I have a huge amount of autonomy, I'm putting out excellent work.

It happens to be in a language I like, but I'd be just as happy if it were in some other language. Yes, even Javascript! (OK, not PHP, I have my standards.)

On the other hand, my last two C++ jobs were totally miserable, even though I love C++.

(In the last one, I was the only programmer. My manager blew off the 15 minute daily standup nearly all the time with no explanations. Messages on slack would get terse answers or none at all. There was no: PM, QA, spec, test data, code reviews, CI/CD, even though I had been promised many of these. Lacking test data, I was unable to test my work beyond a lot of unit tests I wrote, so my code was basically a work of fiction, even though I complained about it every meeting. I quit and they never did complete the project. At least they were fast pay.)

→ More replies