Charlie Poole
2008-08-09 01:32:11 UTC
In case you didn't know, those are the things that come after the main
constraint
and modify how it acts. Currently we have:
.Within(...)
.IgnoreCase
.RespectCase
.AsCollection
.NoClip
.Comparer(...)
These are devilishly hard to get right in the syntax. For example, you can
type Is.Null.IgnoreCase in the current code, which makes no sense. Before
putting more time into this, I wanted to ask whether you use these and
whether the current format works well.
I know some people are bothered by a form that looks like a getter property
modifying the state of the object, but you could also say it's just a new
paradigm and get used to it. Obviously, if we abandoned the modifier
syntax, we would need to find other ways to do the same stuf.
Your thoughts?
Charlie
-------------------------------------------------------------------------
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=/
constraint
and modify how it acts. Currently we have:
.Within(...)
.IgnoreCase
.RespectCase
.AsCollection
.NoClip
.Comparer(...)
These are devilishly hard to get right in the syntax. For example, you can
type Is.Null.IgnoreCase in the current code, which makes no sense. Before
putting more time into this, I wanted to ask whether you use these and
whether the current format works well.
I know some people are bothered by a form that looks like a getter property
modifying the state of the object, but you could also say it's just a new
paradigm and get used to it. Obviously, if we abandoned the modifier
syntax, we would need to find other ways to do the same stuf.
Your thoughts?
Charlie
-------------------------------------------------------------------------
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=/