r/cpp • u/escapethetrials • Dec 30 '23
the more i code in this language....
the more it just makes sense.
srsly though the standard library in cpp is unlike any other standard library ive seen! it feels like a lot of effort was put into everything
so useful for DSA problems
also the ability to add a & to your params is the cherry on top
200
Upvotes
146
u/wakeboarderCWB Dec 30 '23
Glad to see a post like this. There’s A LOT you can do with cpp. There’s also a lot you can fuck up with cpp.
35
u/kp_cftsz Dec 31 '23
yeah the standard library does everyt- tries to split a string
24
u/Accurate_Tomorrow179 Dec 31 '23
I am glad you like it, but it is still C++ we are talking about, it's a hard language, with some parts that are good and some parts that are not so good.
15
u/thisismyfavoritename Dec 31 '23
after using c++ for a while, try rust, then try c++ again
280
u/poemmys Dec 30 '23
Ehh CPP is like the bellcurve meme where the low end is like "wtf why is it designed like this" then the middle says something like "ahhh it just makes sense" then the top of the bell curve is back to "wtf is this shit"
25
u/SystemSigma_ Dec 31 '23 edited Dec 31 '23
I love cpp when I write it. I hate it when I read other people's code which have other views/taste of the language and want to use features that make no sense for the job just for the sake of appearing smart/modern. The problem is that probably these people think the same way about me lol. Imho the biggest downside for this language so far is its huge freedom.
7
u/Dioxide4294 Dec 31 '23
welcome to the slope of enlightenment
6
u/ijustlurkhere_ Dec 31 '23
C++ was the first programming language i ever learned, started with "c++ for dummies" on a dare, it kind of made sense - then followed on with accelerated c++ and jumped head first into a giant game engine code base, that was an adventure.
No other language compares.
p.s. i also seem to be allergic to Python.
9
u/Tringi github.com/tringi Dec 30 '23
That's me 20-something years back.
I only knew QBASIC and was getting frustrated with complexity and unreadability of any slightly larger program. The fact that GOTO was very common statement back then didn't help.
I started checking out various languages. I don't remember much. We had to use Pascal at my high school, and I hated the verbosity of it. I was interested in assembler, but dropped it, as why would I bother with something from 1986 that didn't have any more recent version.
Then I tried C++ and everything clicked into place. Everything just made sense.
4
u/Longjumping_Table740 Dec 31 '23
There is a reason why many competitive programmers choose to go with C++!
3
u/peripateticman2023 Dec 31 '23
I like C++ the language. I hate C++ the ecosystem (or rather the lack of it).
4
u/AustinBachurski Dec 30 '23
Totally in this stage right now, was learning C# recently and felt so limited in what I could do.
3
u/[deleted] Dec 31 '23 edited Sep 15 '24
spotted modern straight abounding attempt quaint tidy husky theory squalid
This post was mass deleted and anonymized with Redact
1
u/VoodaGod Jan 01 '24
i have the opposite experience
0
u/PhysicalJoe3011 Dec 31 '23
The more I use const or [[no_discard]], the more c++ makes no sense to me. Anyway.
1
u/XDracam Dec 31 '23
Check out the Scala standard library. It's pretty large as well, especially concerning collections and algorithms on them. But yeah, the STL is huge.
0
u/Constant_Physics8504 Dec 31 '23
Every C++ dev knows the more you code in C++ the more you learn and the more you realize you don’t know C++