Questions about the principles of the object-oriented programming paradigm.
0
votes
0answers
23 views
Extracting an object diagram to a class diagram
Below, is the mapping of class diagram to object diagram correct? i cant seem to find a useful tutorial on object diagrams anywhere!
Thanks in advance!
1
vote
1answer
74 views
How to represent OOP concepts in algorithms in a standard way?
I have usually been using the Cormen algorithm format to teach some introductory courses in Programming. I mean something like this:
...
-1
votes
0answers
15 views
Datatypes in Java. Is string same a character? [closed]
Is string containing a single character same As char?? This is a book question I need to answer. Pls help
3
votes
2answers
38 views
Temporal logic for interface invariants
I am looking for some sort of temporal logic for expressing invariants in interfaces. Since interfaces do not specify data representation, the invariants must rely solely on the publicly available ...
-1
votes
1answer
38 views
Advice on Object-Oriented programming [closed]
I have been programming for the past two months for the first time, and I'm getting a hang of it, I usually solve problems and am able to write code up to certain extent... however, I have ...
7
votes
3answers
188 views
Inheritance, and dynamic access to members/attributes and methods in Java-like languages
I have a question about inheritance in Java-like OO programming languages. It came up
in my compiler class, when I explained how to compile methods and their invocation. I was using Java as example ...
1
vote
2answers
196 views
Definition of the state of an object in OOP
I need a concise definition of the "state of an object" in object-oriented programming (for a paper).
For about half of a day I searched for a paper that I can cite on this topic, but I couldn't find ...
1
vote
0answers
87 views
Object-based distributed Operating systems [closed]
Can any one explain how object-based technology used in distributed operating systems?
Also can any one suggest any learning resources (links, slideshows, e-books etc) to learn about Amoeba OS?
4
votes
2answers
110 views
Difference between multimethods and overloading
Context
I've been programming in java for a few years now. And atm i'm learning something totally different: Clojure.
There the expression problem can be solved by using multimethods whereas in java ...
2
votes
0answers
52 views
Is there any research to indicate programmers are/are not moving to a hybrid of functional and object-oriented?
I am converting the OCaml Format module which does I/O and maintains state in a record with mutable values. As such it is a good candidate for me to convert to pure F#, pure C# and a hybrid.
Since ...
4
votes
1answer
28 views
Dynamic changes to classes or context activation — how to treat existing objects in a consistent way?
I am looking for references and papers on the following topic.
In general, some programming languages allow dynamic changes to classes. As an example, a new instance variable ‘weight’ can be added ...
3
votes
2answers
174 views
Why classes implicitly derive from only the Object Class?
I do not have any argument opposing why we need only a single universal class. However why not we have two universal classes, say an Object and an AntiObject Class. In nature and in science we find ...
3
votes
1answer
85 views
Can bottom-up architectures be effectively programmed in top-down paradigms?
The subsumption architecture, proposed by Rodney Brooks in 1986, is a "bottom-up" approach, in which robots are designed using simple hierarchical models. These models build upon and subsume the ...