Suggestions: What should I call a class representing a real "event"?

I need to define a class that represents a real event - for example, "movie premiere", "member", etc. I will create a set of database objects for storing data for each event and determine relationships with other data that we have (for example, meeting place, people, etc.)

The word "event" has a different meaning in the context of software, so I would like to call the class something other than "event".

Any ideas on a different name?

This related post asks a similar question, but I think that in all sentences there is no creativity - mainly @event , case-sensitive name for Event or use the CEvent old-school CEvent . Technically good solutions, but they do not help when discussing data objects with peers (my speech and hearing abilities are not case sensitive) and do not convey any information about how the class is not an event in the traditional use of the term.

+7
naming
source share
9 answers

One option is CalendarEvent , so that it is obvious that this is a real-world event tied to a given date.

+9
source share

Activity comes to mind.

+4
source share

How about Happening or Case ?

+4
source share

I would usually recommend a function, but it also has certain meanings in the context of the software .;)

Case may be a good synonym.

+3
source share

The thesaurus lists the following synonyms for event:

accident, action, action, advent, adventure, romance, appearance, business, disaster, event, disaster, celebration, ceremony, chance, circumstance, coincidence, conjuncture, crisis, act, development, emergency, episode, experience, use, fact, function, holiday, incident, connection, miracle, matter, milestone, miracle, unhappiness, failure, error, occasion, appearance, passing, phase, phenomenon, predicament, continuation, shift, situation, history, thing *, tide, transaction, triumph, turn, surprise

Of course, one of them would be enough ... if not, you can add or wrap the word event to make it not a keyword. Something like @event or [event], though, I have to say that I personally do not like this practice, although it is syntactically valid.

+3
source share

You could call it a Rendezvous. You could just say a word. If this is a key concept in your domain, you can shorten one of the other suggested names. Such things as:

  • CalenderEvent becomes Calvent
  • SocialEvent becomes Socent
  • RealWorldEvent becomes Revent
  • HumanActivity becomes HAct

These quick examples can be terrible examples, but they are short, do not interfere with the names of languages ​​or libraries and will become very meaningful words for you and your employees very quickly if you often work with them.

+3
source share

Perhaps "Affair" or "Advent" - you can also check the thesaurus:

http://thesaurus.reference.com/browse/event

+2
source share

Intro or EventEntry is probably what I would go with.

+2
source share

I can appreciate that you want to avoid confusion with events in the sense of programming, but I think that maybe you should go with the most obvious name; programs for your domain, and everything remains readable and easier to design and maintain.

+2
source share

All Articles