• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

naming classes after patters

 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just wanted to get peoples' opinions on naming classes. This is really the first project that I have actually thought out the patterns before starting the project and I have since been naming my classes after the patterns (ex: FBNFacade, FBNModel, FBNView, FBNController, etc...). This really doesn't tell the user/maintainer much about what the class does... what do ya'll think? Should I change the classes to have more meaningful names?
Thanks!
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used such names. Like DataAccessFacade, DataAccessFactory, FlyByNightGUI. I like it that way because I know easier which class I need to edit to fix a problem or make a change.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic