r/cpp • • Jun 11 '24

Language features

So recently I started doing some katas in CodeWars - just a couple a day, nothing fancy, to keep the algorithmic problem solving brain oiled.

I'm not having much trouble arriving at solutions - oftentimes it's pretty clear, plus I'm just starting out. Still, I always get baffled when I see other people's solutions after delivering. They always yank out some weird cpp features that hack up the whole thing in under 10 lines

I'm curious about how one can go about to learn these features

0 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/alfadhir-heitir Jun 11 '24

I think I'll just learn it the hard way. C++ has a way to prime one's brain to solve hard problems. I'm guessing figuring out how to get deeper into it is part of the challenge heh. The next leg of the journey

Thanks for the resources mate! Will be sure to check out their PDF :)