¡@

Home 

c# Programming Glossary: purity

Changing column default values in EF5 Code First

http://stackoverflow.com/questions/11974439/changing-column-default-values-in-ef5-code-first

set a sane default value. And rather than compromise the purity of the initial migration by changing it I just figured I'd create..

In what areas might the use of F# be more appropriate than C#? [closed]

http://stackoverflow.com/questions/2785029/in-what-areas-might-the-use-of-f-be-more-appropriate-than-c

introduces edge case errors. Parallelism The functional purity of the resulting implementation makes it ripe for exploiting..

WPF MVVM Newbie - how should the ViewModel close the form?

http://stackoverflow.com/questions/501886/wpf-mvvm-newbie-how-should-the-viewmodel-close-the-form

of MVVM entirely... Update In the end I just violated the purity of the MVVM pattern and had the View publish a Closed event.. to avoid a one line method in the name of patterns and purity is a bit ridiculous.... c# wpf mvvm share improve this question..

Should the repository layer return data-transfer-objects (DTO)?

http://stackoverflow.com/questions/5068984/should-the-repository-layer-return-data-transfer-objects-dto

be mapped to a DTO. It just seems wasteful for the sake of purity. But it also feels wrong to have the repository layer return..

Pure functions in C#

http://stackoverflow.com/questions/592934/pure-functions-in-c-sharp

you could write extensions to the compiler to check for purity and immutability and issue compiler warnings if something decorated..

Should C# methods that *can* be static be static? [closed]

http://stackoverflow.com/questions/731763/should-c-sharp-methods-that-can-be-static-be-static

ease of extension rather than on the side of idealogical purity. So for big projects don't make things static unless you need..