Panos Laganakos
unread,Mar 17, 2008, 11:54:31 AM3/17/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
It might seem like a small deal, but I haven't grown accustomed to one
or the other yet. Still I hate it when the time comes for me to
decide.
For variable naming this comes more natural. Single holding value vars
are named singular, ie 'fruit'. Container objects are named plural:
'fruits'. In django we use the _list suffix for template views etc.
That's great.
Looking around it seems, everybody has his own favourite style.
Generally apps that might contain more than one object are named
plural, ie:
'views', 'forms', 'customers'.
Apps that define an action or a process are singular:
'register', 'localization', 'shipping'.
Even though this is mostly personal opinion, I'd like to hear people's
thought on the subject.