[<<][compsci][>>][..]
Sun Sep 8 18:21:40 EDT 2013

Objects are names for things you don't control

Basic idea: when data is just data, don't turn it into an object.
Work with "dumb data" as much as possible.

The border between the two seems to be:
    " IS THE THING MADE ENTIRELY OF BITS IN MEMORY ? "

Objects are things that encapsulate state, i.e. a printer is an
object.  It contains paper, not something you can influence as a
programmer.  However, a document is not an object, it's a data
structure.


Other ways f putting it:

- self-contained pieces of information should be values, not objects.

- using an object to representi a value sequence is just an optimization

- replace objects with processes (another manifestation of sequences).




[Reply][About]
[<<][compsci][>>][..]