What are the best practices for C++?

I read the google guideline. But it was fucking boring to read.

How do you do it?

constants = all capital?

I dunno, never had to work with C++ to earn money, so I dunno how things work within a corporation.

>visual studio
oh man, try something else

Is kdevelop better? Why?

>>visual studio
>oh man, try something else

visual studio = the best IDE ever.

eclipse = crap

>I read the google guideline. But it was fucking boring to read.
>How do you do it?

buckle down

vim my mans

pretty much every corp has their own style. my own personal projects differ in styles.

anything goes as long as it's consistent and not too retarded like 1 space identation.

Read some fucking code and figure it out you flaming piece of shit

I've heard Emacs is better, do you have any experience with it?

Visual studio is the only half-decent solution for writing C++ if you're on wangblows

i've uaed it once for a week, wasn't that soothing and comfy i remember it was slow that was around 2012
yet you can still use i guess vim on windows

> Vim or Emacs?
Oh shit, shots fired!

You can also use emacs on windows
BUT
There's no fucking reason to, because visual studio is an insanely good IDE.

>b-b-but its microshit!@!@!@!@!!!!
Nobody gives a shit except you

do you mind not saying things that I've never said?
windows or not its your blue screens
visual studio comes with a lot of bloat, and it teaches its uses an unhealthy way of productivity

I'm sure this will be a rational, well thought out debate.

*users

C++ is so huge it's full of caveats and doesn't tolerate mistakes. Better read through that book.

Or just use python.

>visual studio comes with a lot of bloat
Don't install all the SQL tooling. It's an IDE, not a text editor you spend 6 hours configuring with extensions.

>it teaches its uses an unhealthy way of productivity
Literally false.

I use emacs for everything, *except* for C++ and MS languages, because visual studio does its job so infinitely better than any plugin or extension for emacs or vim could.
I guess intellij for Java as well, for the same reasons.

Or use C. It's all the good parts of C++, minus the bloat.

Just use clang-tidy to warn if your program goes against the guidelines brah

Google guide is garbage for the vast majority of things.
Pick up Effective Modern C++ by Scott Meyers.

first step: install python

clion is better but msvc is pretty good. writing c++ is sufficiently tedious that doing it without a full suite of ide tools in the current year is just masochistic