This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Stupid question naming for hotel room data. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Stupid question naming for hotel room data." Watch "Stupid question naming for hotel room data." New topic
Author

Stupid question naming for hotel room data.

Ixus See
Ranch Hand

Joined: Jul 17, 2011
Posts: 160
Just curious do you all display



the class variable names of the actually comment name?

For example.. do you display city location or location to the user on the JTable. Size or maximum occupancy?

if so did you note this in your choice?
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

Well champ, I guess this is really up to you... and this isn't something that I would consider relevant enough to include in the choices.txt file.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4366
    
    8

I can't remember exactly what I chose, but it would have been whatever I thought would make most sense to a typical user.
Oladeji Oluwasayo
Ranch Hand

Joined: Sep 10, 2010
Posts: 101

When dealing with end-user interface, try to see through the eyes of a an end user (a cashier/CSR who doesn't even know how to use Adobe Reader) and not that of a developer.


OCPJP 6, OCMJD 6
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

Oladeji Oluwasayo wrote:When dealing with end-user interface, try to see through the eyes of a an end user (a cashier/CSR who doesn't even know how to use Adobe Reader) and not that of a developer.


How romantic
Ixus See
Ranch Hand

Joined: Jul 17, 2011
Posts: 160
yea yea..

there are no stupid users, just inadequate designs :P
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4366
    
    8

Ixus See wrote:there are no stupid users, just inadequate designs :P

No, there are stupid users. You just have to accept that, and design accordingly.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Stupid question naming for hotel room data.