Geeks With Blogs
Josh Reuben November 2010 Entries
Code Contracts and Defensive Programming
I've gotten used to Resharper's recommendation for defensive coding (see – never trust the client! private void Bar(string x){ if (x == null) return; But how to get this to play with Design By Contract using Code Contracts? I had a look at - which shows me how to leverage the ContractFailed event and throw my own exceptions. I don't want to throw ......

Posted On Sunday, November 28, 2010 7:19 AM

Parallel Extensions Extras
The TPL (Task Parallel Library) of NET 4 contains a plethora of datatypes for implicit / explicit data and task parallelism + several synchronization primatives. Of course, when you learn something, its never the end of the story… contains a class library which leverages and complements the functionality available in the .NET Framework 4 TPL. Please find below my spelunk into this class library: Parallel General Extensions AggregateExceptionExtensions ......

Posted On Sunday, November 14, 2010 8:27 AM

Formula Test Post
Runge Kutta: Black Scholes: Fourier Series: ......

Posted On Thursday, November 4, 2010 3:56 AM

Copyright © JoshReuben | Powered by: