A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
convension when I am using List called by nickname in the plural?
Joined: Nov 23, 2009
May 19, 2010 11:18:04
Hi, is a convension when I am using List and I call by nickname in the plural?
List<Name> names = new ArrayList<Name>();
Joined: Oct 27, 2005
May 19, 2010 12:42:48
I do it all the time. But it's not a "nickname", it's a variable name.
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions
How To Answer Questions
Joined: Sep 29, 2008
May 19, 2010 15:54:21
It's more than just convention, it's common sense--if you have more than one, it's plural. (Of course, it might have zero or one, too, but the potential is there :)
I agree. Here's the link:
- it saves me about five hours per week
subject: convension when I am using List called by nickname in the plural?
Need help selected text fields visible for particular option from drop down list in JSP(struts)
toString() method explaination
Thinking in JAVA/Text Pad
Id key in .hbm.xml
JSP code not working properly
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013