[Mono-list] "Not supported"

Daniel Carrera dcarrera@math.toronto.edu
Fri, 19 Apr 2002 12:56:00 -0400 (EDT)


Alright.  Then how should I do the templates?  Which of these would be
best?:

(a)
	[MonoTODO]
        public int Count
        {
		get { throw new NotImplementedException (); }
        }

(b)
	[MonoTODO]
        public int Count
        {
		// get { throw new NotImplementedException (); }
        }

(c)
	[MonoTODO]
        //public int Count
        //{
	//	get { throw new NotImplementedException (); }
        //}



Daniel.


On Fri, 19 Apr 2002, Nick Drochak wrote:

> | I have to say that I don't think that filling out the class definitions
> | is necessarily a good idea. I think it would be much better to leave
> | them commented out, then when someone's adding a new feature that relies
> | on the implementation of some method the compiler will tell them that
> | it's not implemented as opposed to them having to track it down at
> | runtime. ideally the only things that should throw
> | NotImplementedExceptions are implementations of some interface methods.
> |
>
> I have to agree with this.
>
> As far as testing goes, it will become useless to see a thousand errors in
> the unit tests when 99% are just NotImplemented exceptions. What we want to
> see are real live bugs.
>
> Nick D.
>