Trusted answers to developer questions

Definition: Instantiate

Get Started With Data Science

Learn the fundamentals of Data Science with this free course. Future-proof your career by adding Data Science skills to your toolkit — or prepare to land a job in AI, Machine Learning, or Data Analysis.

According to techopedia.com, “To instantiate is to create an instance of an object in an object-oriented programming (OOP) language. An instantiated object is given a name and created in memory or on disk using the structure described within a class declaration.”

What it basically means

Create

What’s the difference?

I don’t think there’s an awful lot to be honest! From conversations I’ve had, and from the definition above, I think instantiate provides a little more nuance over create.

As noted above, instantiate principally refers to the creation of an object and its allocation to memory. Create may seem a little too basic in this instance as instantiate provides a bit more detail around how it’s created with the reference to memory allocation.

However, for my level of expertise and handle of the English language, *create is more than a suitable substitution!

RELATED TAGS

oop
jargon
instantiate
computing

CONTRIBUTOR

Stephen Roberts
Attributions:
  1. undefined by undefined
Did you find this helpful?