views:

89

answers:

3

Most common method/variable/class names that you use often and that explain you intent clearly and precisely.Is there any pattern you follow to figure that out.

+1  A: 

int i = 0;

I guess.

Kyle Rozendo
that's part of a `for` loop i hope ;)
wefwfwefwe
also, int j and int k :)
wds
A: 

It's not common names, but common patterns of names I think you need

So I try to make the variables mean something

successfulTransmissionCount

widgetUnitPrice

unusedSessionTimeout

But then on occasions, where there is scope for ambiguity I may use a "units" suffix. If I'm dealing with two existing APIs one that works in seconds and one that works in milliseconds it really helps my eyes to be reminded of the units

 long unusedSessionTimeoutMillis

(Yes there are alternatives to using raw primitive types that may give the same effect)

djna
A: 

object sender, EventArgs e

wefwfwefwe