|
|
|
|
|
by tracker1
4906 days ago
|
|
I'll make exceptions myself if there is one declaration that is just way longer... int x
int y
float z
MyReallyLongTypeHere foo;
Other than that, I tend to prefer having the variable names line up. Though doing mostly JS and C#, I can use var pretty much anywhere an assignment happens, even with null initialization. var foo = (sometype)null;
The bigger issue to me is comma first vs comma last... I find that comma first is easier to notice a missing/extra. |
|