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

Show parent comments

27

u/skeba Aug 25 '21

delete this

16

u/gnosnivek Aug 25 '21

#define delet delete

9

u/AyoBruh Aug 25 '21

You monster

5

u/[deleted] Aug 25 '21

I’ll just throw a little delete[] this for some extra fun.

4

u/Ahajha1177 Aug 25 '21

Now that is horrendous. Suicide bombing your objects, stack or heap be damned!

2

u/Clairvoire Aug 28 '21

why commit suicide when you can commit murder delete this+1u

1

u/rand3289 Aug 26 '21

Had this question on the interview today...

It's a bad idea to delete this :)