Skip to main content

Questions tagged [object]

An object is any entity that can be manipulated by commands in a programming language. An object can be a value, a variable, a function, or a complex data-structure. In object-oriented programming, an object refers to an instance of a class.

object
-3 votes
0 answers
21 views

Is it bad practice to use inner objects in OOP? [closed]

I do not know how to correctly phrase the title, so I will give an example. In Backbone JS, a common example looks like this: aModel = Backbone.Model.extend() In my research, it seems like it is bad ...
20MillionMax's user avatar
2 votes
0 answers
9 views

Different basicblocks share the same object ID in LLVM

I use the following code to print the basicblocks in my LLVM module's object ID. To my surprise, different basicblocks share the same object ID, how could that be possible? I got foo Block ID: ...
zell's user avatar
  • 10k
-2 votes
1 answer
48 views

In JavaScript, how do I check if there are objects with the same value in an array? (a little different) [closed]

How do I check if there are objects with the same value "name" in an array? Input: [ { "name": "blabla", "value": "537,52" }, ...
eyuq's user avatar
  • 1
-3 votes
0 answers
39 views

How could I filter out a text file to add instances of an object? [closed]

I'm currently doing an assignment where I create a takeaway shop. People can load their own text files that has menus for different takeaway shops, for example one text file has the menu for one ...
Legois's user avatar
  • 1
0 votes
0 answers
6 views

YamlDotNet - how to handle versioning after object update?

I'm using YamlDotNet in my projects for quite a while, though I could use your help with the following issue I'm facing as one of the projects is evolving. Imagine I'm serialising the following ...
Mike's user avatar
  • 1,300
0 votes
0 answers
14 views

Vscode not importing System.Object or any other library

I am encountering an issue with Visual Studio Code where it is not recognizing inherited files correctly. Initially, I had a problem where, in multiple places, class A inherits from class B, but VS ...
Condor mitnick 's user avatar
-1 votes
0 answers
20 views

Output an object's value without looping [duplicate]

I'm trying to var_dump the guid value in this object without setting up a foreach loop. I think the ["2"] key is throwing me off. This data is coming from the Toast API. Any help would be ...
Rob Myrick's user avatar
0 votes
1 answer
52 views

R Class Method Without Object Creation

In R Reference class, it seems a class object must be created before using any of its methods. Is there a way to avoid object creation, like in Python, at least for cases which the reference class has ...
温泽海's user avatar
  • 344
4 votes
1 answer
94 views

Assign base object without changing inherited ones?

How valid is it to assign a new object to a base one, without changing the inherited ones? The example below works as expected, but is it by chance? This example is simple, but is there any situation ...
T.L's user avatar
  • 684
0 votes
0 answers
26 views

How do get search filter data in es6

// Filter rows based on string values and exclude from whiteList const whiteList = rows.map(sel => sel.RuleAutoID); // Array of IDs to exclude console.log('whiteList', whiteList); // Assuming you'...
user1931511's user avatar
-2 votes
0 answers
76 views

Are there objects for primitive data types? [duplicate]

If the object represents a data type, is the variable for a primitive data type like an integer also an object representing this type, or do objects not represent primitive data types? // Let's assume ...
Ahmed Hamed's user avatar
0 votes
0 answers
44 views

Python multiprocessing pool with class objects

This code is runnable I get an empty array "link" although I should get an array with objects in it, when I print link in func_b it is not empty Self should refer to the object, but I guess ...
logn's user avatar
  • 150
0 votes
0 answers
11 views

What kind of Rest APIs used to upload file into the Object Storage in Oracle APEX. Note : No PAR URL/API [closed]

I need to find wat kind of Javascript API's used to upload files into the Object storage in Oracle APEX technology. And good to have JavaScript optimized code for this. I need only source code or name ...
Yogesh Jagtap 's user avatar
-2 votes
2 answers
42 views

I want to return a key using Lodash when it contains a particular value

I have an object like this: const obj = { 'MONEY-OUT': { USD: ['a', 'b', 'c'], EUR: ['d', 'e', 'f'], }, 'MONEY-IN': { USD: ['g', 'h', 'i'], EUR: ['j', 'k', 'l'], }, }; and I ...
testerJuan's user avatar
3 votes
2 answers
61 views

Traverse over tree type structured data uing JavaScript

I have a data set having parent and nested children in it. The purpose of this data is to traverse over parent to -> child1 to-> Child1Child ..... -> child2 to -> child1 to -> child2 ...
vikas dhiman's user avatar

15 30 50 per page
1
2 3 4 5
4344