Oct
9
asked How to specify wrapping/wrap points for WPF ribbon labels in resources?
Sep
19
awarded Yearling
May
17
awarded Guru
Oct
12
awarded Popular Question
Aug
6
awarded Necromancer
Jun
8
awarded Caucus
Jan
22
comment Why there is no something like IMonad<T> in upcoming .NET 4.0
In my personal opinion, without statically checked side effects (i.e. pure functions) you hit a point of severely diminishing returns in adding more sophistication to the type system rather quickly. The real benefit of a sophisticated type system is being able to establish complex properties/invariants of your program that are proven to hold in all cases (as opposed to being tested to hold for certain cases and heuristically extrapolated from there), but if any function has an extra unrestricted "channel" for input/output that's unchecked by the type system there's not much you can prove.
Dec
13
awarded Supporter
Dec
13
awarded Popular Question
Dec
5
awarded Notable Question
Oct
21
accepted Does the typeof() operator in C# allocate a new Type object on the heap, or return an existing one?
Oct
21
comment Does the typeof() operator in C# allocate a new Type object on the heap, or return an existing one?
Thanks (to you and Jon both)! I really should've thought of this test - my self-serving excuse is that as a sometime functional programming weenie I tend to think of reference equality as an ugly hack, and so it doesn't always cross my mind when it would be useful =)
Oct
21
accepted Why might VS "Add Service Reference" not generate interfaces for servicecontracts that svcutil recognizes just fine?
Oct
21
answered Why might VS "Add Service Reference" not generate interfaces for servicecontracts that svcutil recognizes just fine?
Oct
21
comment Entity Framework: 0..1-to-many foreign key constraint not recognized?
We ended up just abandoning EF altogether, for various reasons, but thanks for the answer.
Oct
21
accepted Entity Framework: 0..1-to-many foreign key constraint not recognized?
Oct
21
asked Does the typeof() operator in C# allocate a new Type object on the heap, or return an existing one?
Jul
8
awarded Good Answer
Apr
29
comment Is there a reason not to use Func for one off functions?
I think it might be slightly less efficient, since the function object is being allocated at runtime? It's also probably less familiar to most C# programmers. Personally I'd only use it if the function needs to capture local variables of Baz(), but I don't think there's anything too bad about it - it does show the intent as a helper function as you say.
Apr
29
revised EF does not generate correct SQL SELECT WHERE when using dynamic compiled predicate
added 38 characters in body
1 2 3 4 5