WordGarden.io
Back to search

instantiate

C2
verb

Pronunciation

UK

  • /ɪnˈstænʃieɪt/transitiveverb

US

  • /ˌɪnˈstænʃiˌeɪt/

Description

Imagine you have a blueprint for a house. That blueprint is not the actual house. It is just the plan. To "instantiate" the house means to actually build it, making a real example from that design. In computer science, this is what happens when you take a class, which is like the blueprint, and create an object, which is like the house. But the idea is not limited to tech. A writer might instantiate a character by giving them a name, a backstory, and a personality, bringing a rough idea to life on the page. Think of it this way: you instantiate a recipe when you actually bake the cake. The recipe is the idea; the cake is the finished example. You can make many cakes from the same recipe.

Examples

  1. 1

    Software objects

    The app instantiates a new user object when someone signs up.

  2. 2

    Class setup

    You need to instantiate the class before you can call its methods.

  3. 3

    Web framework

    The framework instantiates the controller automatically for each request.

  4. 4

    Compiler templates

    The compiler instantiates the template with the type you provide.

  5. 5

    Abstract idea

    In the article, the small town instantiates the writer's idea of a close community.

Forms and spellings

1 form open this card.

Main spelling

  • instantiateverb