Android Naming Convention for getter method of boolean data type variable -



Android Naming Convention for getter method of boolean data type variable -

getter method name

private boolean mislast;

is

public boolean isislast() { homecoming mislast;

}

or

public boolean islast() { homecoming mislast;

}

?

should utilize isislast() or islast()?

islast preferable isislast if dealing boolean values. not naming convention repeat first syllables of method.

android naming-conventions

Comments

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

model view controller - MVC Rails Planning -

php - Working with pretty urls on apache and fastcgi after hhvm installation -