WordGarden.io
Back to search

getter

A1

Pronunciation

UK

  • /ɡˈɛtə/

US

  • /ˈɡɛtər/

Description

A "getter" is someone or something that gets, collects, or brings back something. In computer programming, a getter is a method used to read data from an object. In technical equipment such as vacuum tubes, it can also mean a material that removes small amounts of gas. In older or more general use, the word can describe a person or thing that obtains something.

Examples

  1. 1

    Class property

    This class has a getter for the user's email address.

  2. 2

    Getter and setter

    We added a setter, but we left the getter read-only.

    • Domain

      In programming, getter and setter

      a pair of functions used to read and change a value

  3. 3

    Custom formatting

    The property uses a custom getter to return the date in a friendlier format.

Forms and spellings

1 form open this card.

Main spelling

  • getter