Skip to content

Instantly share code, notes, and snippets.

@robatwilliams
Last active March 29, 2023 12:32
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robatwilliams/1f089398144867e629bdc343a5cc5be6 to your computer and use it in GitHub Desktop.
Save robatwilliams/1f089398144867e629bdc343a5cc5be6 to your computer and use it in GitHub Desktop.
List of names that tend to be useful in programming

Useful names

List of names that tend to be useful in programming. On their own, or for building names.

A thesaurus is also useful.

Things

  • action, operation
  • attribute, property
  • buffer, queue
  • builder
  • candidate — found
  • child — parent
  • condition
  • content, payload
  • context
  • config, option, setting
  • consumer — producer, supplier
  • criteria (criterion)
  • current
  • data (datum)
  • default
  • destination, target — origin, source
  • element, entry, item, member
  • factory
  • field
  • first — last
  • handler
  • id
  • initial, original
  • input
  • key — value
  • latest
  • main
  • mandatory, required — optional
  • master, primary — slave, secondary
  • mode
  • next — previous
  • new — old
  • override
  • other
  • parameter
  • raw
  • reason
  • remaining
  • result
  • selection
  • state
  • status
  • template
  • type
  • XYZable (e.g. Comparable)
  • XYZer (e.g. Writer)
  • XYZor (e.g. Comparator)

Functions

  • asXYZ, toXYZ
  • begin — end
  • build, create — destroy
  • calculate, derive
  • canXYZ
  • check, verify
  • classify
  • clean, sanitise
  • close — open
  • collect
  • comparator
  • complete
  • convert, transform
  • display, show
  • enforce
  • ensure
  • execute, perform, run
  • fetch, request
  • filter
  • find, query
  • finish — start
  • format
  • generate
  • handle
  • hasXYZ
  • hydrate, revive
  • ignore
  • initialize
  • isXYZ
  • load
  • lookup
  • mark
  • match
  • maybeXYZ
  • niceify
  • normalize
  • parse — serialize
  • populate
  • predicate
  • prepare
  • process
  • refresh
  • reject
  • render
  • resolve
  • select
  • selector
  • shouldX
  • start — stop
  • subscribe
  • tryXYZ
  • update
  • validate
  • xyzAsync

States

  • pending
  • queued
@robatwilliams
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment