Re: [nunit-developer] What do you think about Constraint modifiers?

"Chris Wright" <[email protected]> Mon, 11 Aug 2008 23:59:35 -0400
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <9a6cce3d0808112059t7d574386tfa975a0274813039__28562.4019954868$1218513652$gmane$org@mail.gmail.com>
2008/8/11 Charlie Poole <[email protected]>:
> Back before intellisense, I think your comment would have
> been correct and - in fact - that was my thought in designing
> it the way I did.

I was weaned with Resharper, so to speak, and I've never noticed these
issues. The odd cases don't make sense, except maybe if you had
something like:
int* ptr = ...;
Assert.That (ptr, Is.Null.Within(4095)); // make sure that it points
to an address in the first page of memory

So, if it doesn't make sense, I'm unlikely to choose that option in
the first place. I don't go from intellisense to intent, after all.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/