tags:

views:

24

answers:

1

Sorry, for the vaguely worded question but how do you think about your objects or functions?

Do you view them as a series of data structures?

Mathematical functions? Is is how pure functional programmers think?

Do you think about the lifecycle of an object?

For instance, an interesting analogy is to think of set of dependent objects of a biological entity, like a cell. The membrane is encapsulation. An imperfect analogy, but useful?

I want your opinions, specifically your metaphors and analogies.

Idle thoughts for a Friday.

A: 

Cars. You can't go wrong with a good car analogy.

Cars have wheels. Cars are vehicles. Sports cars are cars. And so on.

They're even built in factories!

RichieHindle
cars can have alloy wheels or normal wheels. It could have ABS or not...power steering or not...so on..
Pradeep