Skip to content

Instantly share code, notes, and snippets.

@hastebrot
Last active January 18, 2022 19:25
Show Gist options
  • Select an option

  • Save hastebrot/3e26325080b52e3474a279e6d47326d2 to your computer and use it in GitHub Desktop.

Select an option

Save hastebrot/3e26325080b52e3474a279e6d47326d2 to your computer and use it in GitHub Desktop.

Mini Guide: Verbs for Method Names

  • Attribute: get set is has can
  • Daten: add insert put remove delete replace purge prune move view write read

  • Objekte erstellen: generate create make build assemble evoke produce construct
  • Objekte vorbereiten: initiate configure prepare provide install require publish enable establish
  • Objekte zerstören: cleanup destroy dispose release discard abort revoke

  • Handeln: run process execute perform do call invoke calculate evaluate compute estimate watch
  • Auswählen: pick select reject query find fetch identify gather receive retrieve obtain acquire request peek collect omit skip take extract match
  • Überprüfen: check compare validate verify confirm review analyze assess scan ensure
  • Verarbeiten/Verändern: manage adjust categorize reconcile convert sanitize revise apply assign update refresh shrink enlarge transfer transform edit

  • Performing calculation(s): calculate
  • Retrieving data: get or retrieve
  • Mutating data: set or change
  • Deleting data: delete or remove
  • Converting: convert
  • Initiating an action: start or initiate
  • Stopping an action: stop or cancel

via: http://stackoverflow.com/questions/7151418/determining-which-verb-to-use-for-method-names-in-java/7151581#7151581

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