November 2010 Entries

Code Contracts and Defensive Programming

I've gotten used to Resharper's recommendation for defensive coding (see http://en.wikipedia.org/wik... – 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 http://weblogs.asp.net/gunn... - 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 | Comments (0)

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… http://code.msdn.microsoft.... 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 | Comments (0)

Formula Test Post

Runge Kutta: Black Scholes: Fourier Series: ......

Posted On Thursday, November 4, 2010 3:56 AM | Comments (0)

Copyright © JoshReuben

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski