• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Controller naming

 
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you append word Controller often? I need to find a name for a class that is responsible for enabling/disabling components in visual pane. Examples:

(substitute My with anything, like TcpIp):

MyComponentEnabler (I don't think there is a word "Enabler")
MyEnabler (shorter)
MyEnableController (closest to describe what it does. But name is long)
MyEnableManager (same as previous Manager = Controller )
MyEnablet (they made servlets and other "lets")

Your ideas?
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you think that the name MyEnableController is a long name? Clarity in the naming of your classes and methods is a good thing. These days with all the "fancy" things that IDEs can you help you out with, long class or method names (within reason of course) should not be a road block to writing understandable code.

Regards,
JD
 
And then the flying monkeys attacked. My only defense was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic