RE: Properties

2010-08-24 Thread Jeff Sinclair
ns.) On Wed, Aug 25, 2010 at 10:43 AM, Jeff Sinclair wrote: > Can some one tell me why people get so worked up about all fields > being private and accessed only via properties. > > If you have a class which is only used essentially as group of > variables, eg to put into a data

Properties

2010-08-24 Thread Jeff Sinclair
Can some one tell me why people get so worked up about all fields being private and accessed only via properties. If you have a class which is only used essentially as group of variables, eg to put into a data structure like a tree or something then why not public fields? Do all those properties

Data Structure - timeseries

2010-08-23 Thread Jeff Sinclair
I have some time series data, which contains various parameters read over a period of time as varying intervals. I am working on a replay interface for the data. I want to allow the retrial of a value at any point in time. The value being calculated by simple straight line between the nearest tw

RE: Dependency injection

2010-07-28 Thread Jeff Sinclair
n: "An consumer class should not be aware of more methods than it needs to do it's job" http://www.objectmentor.com/resources/articles/isp.pdf Regards, -- Michael M. Minutillo Indiscriminate Information Sponge Blog: http://wolfbyte-net.blogspot.com On Wed, Jul 28, 2010 at 7:44

Dependency injection

2010-07-28 Thread Jeff Sinclair
Hi, I am using Microsoft unity to do dependency inject but I have a small problem. Let's say I have a business layer assembly and a data layer assembly. The data layer exposes 2 interfaces, IDataRepositortyA and IDataRepositoryB. These are both constructed by unity. Now let's say IDataRe

RE: KPI's for software developers

2010-06-25 Thread Jeff Sinclair
How about, on any piece of work have someone external make estimates of the time required. These are not revealed to the developers. If everyone is measured against those estimates, even if they are always wrong, you can at least compare developers. Obviously there will be some degree of variation