News for hackers. Stuff that matters.
Re:Clarity over brevity in variable and method names by Dove on Monday September 10, 2012 @02:43PM (#4501374)
The preference probably depends a lot on your background. If you're spending a lot of time stitching together APIs, you probably prefer longer names for clarity.

If you spend a lot of time writing math, the opposite is true: shorter variable and function names are better for clarity, to the point that arbitrary operator overloading is essential -- as anyone who's suffered through matrix.transpose().multiply(matrix2.inverse()).multiply(vector.multiply(scalar)) . . . would tell you!

There are no comments on this comment yet.