MASON-INTEREST-L Archives

October 2009

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"glen e. p. ropella" <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Thu, 29 Oct 2009 10:18:36 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Thus spake Matthew Berryman circa 10/29/2009 03:51 AM:
> *shrug* Main thing is to be clear in the docs. Anyone else have any
> thoughts?

The only thought I have is a question.  I typically answer these sorts
of questions by asking myself things like:

"Why do we have both Double2D and MutableDouble2D at all?"

The point being, if you want to make the two things adhere to the same
interface, then why are they different classes?  Is it solely for
efficiency? Are there separate (functional requirement based) use cases
for mutables than for immutables?  Etc.

As for you you end up doing it, I'm kinda leaning toward your 3rd
option, allowing the interfaces to diverge according to their purpose.
But I'm actually fine either way, as long as it's clear in the docs,
like Matthew says.

-- 
glen e. p. ropella, 971-222-9095, http://tempusdictum.com

ATOM RSS1 RSS2