it hates trying to understand c++
reading clang source code makes it feel insane, why is it written like this, who hurt these programmers
@brainlessbitch if you had to describe that style in a few words, how would you describe it?
@felipe every (not literally) function is a shell for other functions, containing little new code, but just calling functions from other places
@brainlessbitch normal C++ is like, fine, but then some people write the most dogshit C++ imagineable
@solonovamax in its experience, most c++ programmers do the latter

@brainlessbitch I mean, I manage to write good C++ code (I hope)

mainly because I:

  • enable -Wall -Werror
  • try to use some of the more modern C++ features like smart pointers and auto
  • LISTEN TO MY FUCKING IDE WHEN IT SHOWS ME WARNINGS

@brainlessbitch I genuinely don't think it's that hard to make your code not dogshit

just listen to the compiler and don't do things in the dumbest way imagineable

@brainlessbitch like it's just a handful of tiny things you need to do

I just started writing C++ code less than a year ago and already write better C++ code than people who have been writing it for ≥5 years

@solonovamax it's not even people not listing to compiler diagnostics, there are more just these design patterns that it sees a lot of (generally) larger c++ projects use that make the code significantly harder to digest