A relevant conversation

vis a vis the last post

L: heh, right
would it be enough to have one bool and one int?
boolean isLookingForMore, int currNum
this way you can avoid hypercubage
so single + searching is (1, 0)
‘seeing someone’, in the traditional monogamous way is (0, 1)

me: hm.

L: though this doesn’t give a good way to show weight among relationships
oh, hah, if you make it two ints, you could potentially say “I am searching for this many more”, “I have this many”

me: That works. I mean, provided you’re seeing fewer than 2^16th people.
We could use a collection, and let people put whole objects in the “looking for” bit.
See, this is where weak typing is useful.
var relationships = [
“has” : [“wife”, “girlfriend”, “boyfriend”],
“seeking” : [“slave”, “mistress”]
]

L: hmmmmmmmmmmmmmmm

me: Then you could test for Nick.seeking(Str) and see if it shows up.

Advertisements

One thought on “A relevant conversation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s