What is data-oriented programming and how does it differ from object-oriented programming?

What will be an ideal response?



In a data-oriented programming system such as the Web, the methods in the interface between components are always the same. What is allowed to vary is the data that is passed through those methods and the semantics of the processing that is applied to that data. In object-oriented programming, by contrast, each object can have an interface with arbitrary methods. Client are usually (although not necessarily) programmed on the assumption of specific processing semantics associated with those methods, complicating interoperation with independently written objects.

Computer Science & Information Technology

You might also like to view...

Identify the compiler errors and state what is wrong with the code.

``` #include using namespace std; Class Birds { private: string name; float size; public: Birds(); void SingASong(); } void SingASong() { cout << name << “ says cheep cheep”; } int main() { Birds Sparrows[30]; Sparrows.SingASong[0]; } ```

Computer Science & Information Technology

Press the ____ keys to open and close the panel in the accompanying figure.

A. Ctrl+K B. Ctrl+A C. Shift+A D. Ctrl+Shift+Esc+A

Computer Science & Information Technology

Video game testers are employed in the video game industry to examine games for both correctness and playability.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

?The term _____ is familiar to IT professionals, who know that the best time to avoid problems is when the data is entered.

A. ?good input, bad output (GIBO) B. ?garbage in, garbage out (GIGO) C. ?poor start, poor finish (PSPF) D. ?weak hand, weak hold (WHWH)

Computer Science & Information Technology