Top "Object" questions

An object is any entity that can be manipulated by commands in a programming language.

JavaScript: Object Rename Key

Is there a clever (i.e. optimized) way to rename a key in a javascript object? A non-optimized way would …

javascript object key rename
Saving and loading objects and using pickle

I´m trying to save and load objects using pickle module. First I declare my objects: >>> class …

python object pickle
Sort array of objects by single key with date value

I have an array of objects with several key value pairs, and I need to sort them based on 'updated_…

javascript arrays object
What is the difference between loose coupling and tight coupling in the object oriented paradigm?

Can any one describe the exact difference between loose coupling and tight coupling in Object oriented paradigm?

oop object coupling
How would one write object-oriented code in C?

What are some ways to write object-oriented code in C? Especially with regard to polymorphism. See also this Stack Overflow …

c oop object
How do I remove an object from an array with JavaScript?

I have an JavaScript object like this: id="1"; name = "serdar"; and I have an Array which contains many objects of …

javascript arrays object
How to get index of object by its property in JavaScript?

For example, I have: var Data = [ { id_list: 1, name: 'Nick', token: '312312' }, { id_list: 2, name: 'John', token: '123123' }, ] …

javascript arrays object
Dynamically Add Variable Name Value Pairs to JSON Object

I have a json object full of ips like var ips = {} I then add ip objects to this object like …

javascript object object-literal
Get specific object by id from array of objects in AngularJS

I have a JSON file containing some data I d like to access on my AngularJS website. Now what I …

javascript arrays angularjs json object
Extending an Object in Javascript

I am currently transforming from Java to Javascript, and it's a bit hard for me to figure out how to …

javascript function object prototype extends