What is the difference between object and instance? [Knock Q&A]

preview_player
Показать описание
Up vote your favorites.

The long term goal: build a search engine of technical and non-technical questions with concise video responses. The more questions that we get, the more answers we can research and respond with.

Рекомендации по теме
Комментарии
Автор

Sometimes I feel learning the basics of programming are more important than learning just bunch of code blocks from stackoverflow.

juanyang
Автор

1:58 instance of a class 를 다룰 때는 object = instance.
because python is a object-oriented programming language.
3:15 you yourself are an instance of the human class.
Thank you

victorystocktv
Автор

in "From Database to Webpage - Day 2 - Django Bootcamp " you have in views:

def home_view(request, *args, **kwargs):
context = {“name:” “Justin”}
return render(request, “home.html”, {})

Is home_view an object and an instance?

yadude
Автор

Can anyone explain if instancing does this? say 2 npcs are told by the same code that if they collide on a rock they should move left. Now this happens independently on the two depending if a collision happens. Is that what instancing does? it assigns the same code to happen independently on multiple npcs? I am making a game, but without this feature I will have to write tons of code for each of the dozens of npcs of the world each having different variables... that would be a pain!

AloanMoreira
Автор

Man, you are a great teacher (and a great programmer, as you can easily explain topics about programming), you have explained with such an simple and easy to understand example. You earned a sub!!!

mr.curious
Автор

You're best Leader fully Open minded, thanks for your kind response

Scorpio-welv
Автор

is there any difference if create a object manually ( with {} and key value pair ) and other object by instanciation from a class, how the memory management will be will the second technique consume less memory, ,.... what is the fanda ?? please reply

random
Автор

I have question.What is the use of only declaration of object.Means writing only
Class c;

Does above line help in java Or not

vishalsangole
Автор

Thank you so much for this!!!! detailed. Keep more videos coming

akirahayashi
Автор

sorry buddy but I personally found your explanation to be convoluted and unclear overall. You started giving vague examples and totally deviated from the initial question is what i felt after the video . I hope others understood the difference but I sure didn't.
I totally appreciate your attitude to ask questions and probe deeper to find the clear answer, kudos to you inculcating such good behavior, I like this video but not your explanation.
PS: her name is spelled - 'pre' 'yan' 'ka'

HealmBreaker
Автор

when the object of the class is created is the object and when the object is passed into the class as argument at that time it becomes instance. is this understanding correct ? if not let me correct it...

vaishnavi
Автор

Would have been nice to show an example on the board

tampaps
Автор

dude you are great in explaining. You use a lot of energy in explaining things just don't forget the fact what actually you wanted to do while opening this channel. REMEMBER THE SOLE PURPOSE

prabhavagrawal
Автор

Sir, would you please explain the difference between a string object and a string literal?

manvithyadavdega
Автор

Awesome I Totally Got It.. Thank You Sir..

seeratahmedkhan
Автор

Is there any importance creating an object using class function

lohithdonthamshetti
Автор

Really great explanation, thank you for this video!

Dylson
Автор

What is difference between built in type object and instance of a class

atishnandeshwar
Автор

Great explanation. Plus: grabbing motion: key.

nickjoseph
Автор

"Object and instance are the same in this case" .... is there a Venn diagram you can draw? .... browsing around the interwebs, I like your video, thank you

skeeterburke