Re: [Algorithms] General purpose task parallel threading approach
Brought to you by:
vexxed72
|
From: Conor S. <bor...@ya...> - 2009-04-15 16:41:16
|
There is an important distinction between "seeing" information and "changing" information as well. It may not always be a good idea to hide it, but it's often a great idea to control it (and how it's presented).
And controlling how it is presented is a great reason for encapsulation and polymorphism.
Cheers,
Conor
________________________________
From: Mat Noguchi <mat...@bu...>
To: Game Development Algorithms <gda...@li...>
Sent: Wednesday, 15 April, 2009 4:14:05 AM
Subject: Re: [Algorithms] General purpose task parallel threading approach
No, but I am arguing that hiding information from everyone isn’t
necessarily a good idea either.
MSN
From:Jarkko Lempiainen
[mailto:al...@gm...]
Sent: Tuesday, April 14, 2009 12:18 PM
To: 'Game Development Algorithms'
Subject: Re: [Algorithms] General purpose task parallel threading
approach
Hold on, are you actually arguing against polymorphism and
encapsulation in general?
Cheers, Jarkko
________________________________
From:Mat Noguchi
[mailto:mat...@bu...]
Sent: Tuesday, April 14, 2009 9:57 PM
To: Game Development Algorithms
Subject: Re: [Algorithms] General purpose task parallel threading
approach
And the corollary to that is most generic/flexible systems are
implemented such that you cannot get useful information out of them without
executing them.
MSN
From:Mat Noguchi
[mailto:mat...@bu...]
Sent: Tuesday, April 14, 2009 11:48 AM
To: Game Development Algorithms
Subject: Re: [Algorithms] General purpose task parallel threading
approach
If the genericity or flexibility comes at the price of hiding
information, then it’s not as desirable. A useful attribute to consider is
whether you have to run code in order to make reasonable assumptions of its
behavior. If you do, it is less desirable than if you don’t.
MSN
From:Sebastian Sylvan
[mailto:seb...@gm...]
Sent: Tuesday, April 14, 2009 11:23 AM
To: Game Development Algorithms
Subject: Re: [Algorithms] General purpose task parallel threading
approach
On Tue, Apr 14, 2009 at 7:14 PM, Mat Noguchi <mat...@bu...> wrote:
Ø Generality and flexibility are considered
desirable features in most cases - therefore pointing out the lack of
flexibility in some aspect of a system is an entirely valid criticism.
I think the whole point of the
other side of this discussion is that generality and flexibility are not
necessarily desirable features.
In what sense is less flexibility preferable? I mean, I get
that in a certain specific scenario you may go for a solution that is less
flexible if it offers, say, more performance, but that doesn't mean that
everything else being equal you wouldn't prefer to have the flexibility too.
--
Sebastian Sylvan
+44(0)7857-300802
UIN: 44640862
Enjoy a safer web experience. Upgrade to the new Internet Explorer 8 optimised for Yahoo!7. Get it now. |