+ 3
What is object used for?
I wonder, what object is actually used for? Most people prefer to use library for their project than using the vanilla itself, so i never seen anyone using an object
11 Respostas
+ 7
I use objects when I need multiple objects of the same type but want to keep all there data seprate.
+ 7
Objects are used to model real world entities.
+ 5
object is just a way to create an instance of an item which can be manipulated at will. even with libraries..objects are important
for instance..a score keeping algoruthm can be made an object wjich is updated as conditionals are met and this object can be used anywhere in the program
+ 4
Muhamad Rizal Noor pratama all humans are objects right? so we all have our own data (age,name,ect..) if we didn't and we all shared the same data then each time someone would have a birthday then everyone will also age 1 year. Having objects stops this from happening and each new object is treated seperate from one another which is of the same type of data.
+ 2
Sonic i know, but what im ask is what could people use object in their project
+ 2
+ 2
D_Stark LOL
"all humans are objects" ....
and then I stopped reading.
Maybe there are better worded examples than that ;-)
+ 1
What about vue? It use objects too right?
+ 1
ifl humans/people would be objects in programming theres no need to word it better đ
+ 1
\o/ i think i see that joke somewhere lol XD but your opinion useful enough, thank you
0
IMO, Objects are used to make life easy. From ancient time till today objects are used. Even config files are modelled to make it easy. We human are different, we are not an object. I heard someone saying in background âdonât treat me like an object, how dare you!â. đ We create object, give life and must know how to utilize. Object cannot think, we do.