News for hackers. Stuff that matters.
Re:John Carmack's comment on Doom 3's code style by tracker1 on Tuesday January 15, 2013 @12:00PM (#5061227)
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.

There are no comments on this comment yet.