Tags » .NET

Functional Programming 8/5/14

Functional Programming 8/5/14

  1. Tools (Functions) and Material (Data)
  2. Composition (Functional Prog) involves partial application of functions. Adv is Lazy evaluation of fn
  3. Constructor Overloading and Default Parameters is OOPs way of doing partial application of functions.
  4. 286 more words
.net

is event raised on the thread that registers the event in c#

is event raised on the thread that registers the event in c#

are events raised on same thread blocking

http://stackoverflow.com/questions/16495845/newbie-how-does-c-sharp-threading-handle-events-raised-on-another-thread

Unless you take some explicit action, event handlers are called on the thread that raises the event. 21 more words

.net

Functional Programming Notes

  • Get(get() => return x;) // getter of get eg. Ienumerator
  • Foreach works with any collection that has a getEnumerator. It may or may not be implementing IEnumerable…
  • 188 more words
.net

Functional Programming Session X

Functional Programming Session X

  1. Yield
    1. Yield return;
    2. Yield break;
    3. Yield;
  2. Integrity
    1. Data Integrity
      1. Referential: checked by == or equals
      2. Structural: ICompare: compare the values/contents of 2 structures eg.
  3. 486 more words
.net

A nice unit testing style

I was once shown a nicer way of writing unit tests that at first seems wasteful and tedious, but results in locating with precision which part of your code is failing fast. 942 more words

.NET