... And do you use tabs or spaces? I prefer 4-space tabs myself.
How do you name your variables, Jow Forums?
4 spaces seems like more work
1
2
34
>set expandtab
Lowercase with underscores
Why go through the trouble of enabling an option just so your indentation levels occupy 4 bytes instead of 1?
I use as many abbreviations as possible, so that no other person can interpret my code.
I name my variables as a sequence of underlines:
_
__
___
____
it's just a setting in my editor. it's one tab, and it's displayed with a width of 4 spaces.
the wider the scope, the longer the name
this is the only correct way
Again, why go through the trouble of enabling an option just so your indentation levels occupy 4 bytes instead of 1?
I don't. it is one tab.
2 space tabs.
Variable names as verbose as possible, camelCase.
1nt
2nt
3nt
4nt
f1oat
f2oat
f3oat
f4oat
boo1
boo2
boo3
boo4
s1r
s2r
s3r
s4r
camel case
4 spaces
minimum 16 characters
contains name of type
member fields start with _m
static fields start with __
>To insert space characters whenever the tab key is pressed, set the 'expandtab' option
When you press tab, your editor puts out 4 spaces. That is 4 bytes per level of indentation as opposed to 1.
I conform to the project-specific standards.
kind of choose on the go and switch often, and once the code works I just leave it and move on to other things.
I sometimes return to the codes and clean them up so it's consistent, but I'm usually pretty chaotic.
I don't use this "extendtab" thing. there are no spaces in my indentations.
I name every variable with its type and a very clear definition of what it does.
$int_student_iteration_counter
for instance
I use tabs boi
this_kind_of_variable
4 spaces are cool
top tier
variableName
mid-tier
variable_name
oh shit nigger what are you doing tier
variablename
why is the camelCase preferred by some? I like using _ and avoid using case-sensitive letters
_ eats horizontal screen estate
I have done this when writing obfuscated code
camelCase
2-space tabs
This.