Message from @M4Gunner
Discord ID: 473934090870194176
I personally use the Google Java Style code:
*Each time a new block or block-like construct is opened, the indent increases by two spaces. When the block ends, the indent returns to the previous indent level. The indent level applies to both code and comments throughout the block.*
you can download the style guide from github and import it into IntelliJ
ill just do whatever the c++ standard is
i get a lil too creative with formatting when left to my own devices
C++ standard has a style guide?
i'm sure?
theres definitely a standard when writing it commercially
@M4Gunner you a tabs guy right?
I know, that Kernighan and Ritchie suggested a style for C, which not all adhere to
i only used spaces when i first started
Bjarne has his own style guide for cpp
What do you mean with using spaces? I use indent, but it gets transformed into spaces by my IDE
the reason for this is that the code looks in all editors and IDEs the same
sounds annoying
tabs are easier to nav when editing
so if my IDE converted all tabs to spaces, it would bother me
if it wanted to convert all instances of x amount of spaces to tabs, that might be okay
you will not be affected by it with a sophisticaed IDE
its really one of the stupidest points of contention
sounds like sophisticated IDEs like to mutilate code without me realizing
the problem is that the code looks different in editors with different indent size
which is why Google and in general pros use spaces
then they can use the proper indent size in their respective editor
>pros use spaces
there was a study which found that people using spaces earn more
lick my ass you are bullshitting
because they know how to configure an IDE correctly
link to study
if they knew how to configure their IDE they would set the indent length to their preference and use tabs
not a controversy
not a raging one
i also dont think google has the best "pro" coders
<:what:382980756139409409>
this is a stackoverflow survey
not a representative sample
my guess?
the real niggas who get paid more to code arent answering faggot questions for free on SO
```Obviously, using spaces is not the fundamental reason why those folks are making more money. The survey points to a correlation, not a cause. There are other reasons that developers who use spaces are are doing work that pays more, but the data provided no real clues as to what those reasons were.
```