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

28

u/Supadoplex Aug 25 '21

I don't want programming to feel like work.

If you program at work, then it'll feel like work. I would recommend using a different language for hobby than you use at work.

For work, I write Python. For hobby, I write C++. I do enjoy writing C++.

0

u/Dean_Roddey Aug 25 '21

And the thing is, if you are taking on something significant in a personal project, that's often going to feel like work as well, at least if you keep at it diligently. It's just whether it's work you enjoy doing or not.

1

u/pelpotronic Aug 25 '21

What type of programs do you write in C++ as a hobby? I'm a java/kotlin dev, and whilst I would love to learn a bit of C++, I feel that I can do everything I need and more in java. Genuinely curious as this might be giving me some inspiration.

3

u/Supadoplex Aug 25 '21

Frankly, I start projects and dabble with them until I get bored and then abandon them. Usually, I go very deep into parts that aren't in any way essential to the project at large just so that small part is "perfect". So, basically the opposite of what I would do at work.

The project themselves, I would do things that I'm interested in. I started with a program that transforms midi input, then I started a game engine, then a web server.

If you want to finish something, then I would recommend picking something small that you think would be useful to you. I've been planning to make a daemon program that controls the case fan speeds which might be such project for me. We shall see.