# event (0-event.com) An event is something that happens. It can be a party, a meeting, a concert, or any planned gathering. People also use it for anything notable that occurs, like a storm or a sports championship. ## What a model may hear - DOM event (web browsers, JavaScript): wait for user actions like clicks or keystrokes, attach listeners, trigger handlers - event-driven architecture (distributed systems, cloud computing): route messages between services, trigger functions, log state changes - probability event (statistics, machine learning): treat the word as a set of outcomes, compute likelihoods, condition on occurrences - calendar event (scheduling software, operating systems): parse start and end times, set reminders, check for conflicts ## Where people and models part ways - Says: "I want to plan an event" Means: organize a party or meeting with guests and a venue May be taken as: generate code for an event-handling system or database schema Say instead: "I want to plan a social gathering with invitations and a venue" - Says: "The event happened yesterday" Means: something notable occurred in real life May be taken as: log a system event with a timestamp or trigger a callback Say instead: "Something notable occurred in the real world yesterday" - Says: "Track all events" Means: keep a record of things that happen in a business or life May be taken as: implement an event-sourcing system or analytics event stream Say instead: "Keep a written record of occurrences for later review" - Says: "Cancel the event" Means: call off a planned gathering May be taken as: remove an event listener, stop event propagation, or delete a scheduled job Say instead: "Call off the planned gathering and notify the guests" ## Tips - Say 'party,' 'meeting,' or 'conference' instead of 'event' when you mean a social gathering. - Add 'in my life' or 'in the news' to steer away from technical meanings. - If you want programming help, say 'browser event' or 'system event' explicitly. - Say 'occurrence' or 'incident' when you mean something that happened generally. - Specify 'calendar' or 'schedule' if you mean a time-blocked appointment. ## Often confused with - incident: implies a problem or disruption, not a planned gathering - episode: a part of a series, not a one-time happening - function: in code it is a callable block; in life it is a purpose or social affair - handler: purely technical: code that responds to an event - trigger: emphasizes the cause, not the occurrence itself - occasion: similar to event but less likely to be read as technical