Fail Fast Principle

There are 3 keys ways a developer usually approaches error handling in code. Ignore Fail Safe Fail Fast We have, at different point of writing code, used all three approaches. There are times when have good reasons to ignore a particular exception scenario, while at other times, we are opt for Fail Safe approach. Fail … Continue reading Fail Fast Principle

Advertisements

Mutation Testing

Even with TDD, the quality or coverage of the existing Unit Tests are always a concern for the developer. "Have I done enough ?" That's one question that haunts him throughout. Mutation Testing is a structural testing method that attempts to add more value to Unit Tests by aiding in identifying the 'misses' in Unit … Continue reading Mutation Testing

Patterns,Principles and Programming.

Have been thinking of building a complete index of all programming series available in this blog for some time now. So finally putting it together. Design Patterns 1. GOF: Adapter Pattern 2. GOF: Strategy Pattern 3. GOF: Singleton Pattern (Lazy) 4. GOF: Fascade Pattern 5. GOF: Chain Of Responsibility Pattern (CoR) 6. GOF: Template Method … Continue reading Patterns,Principles and Programming.

EcSolvo.RestHelper Nuget

Recently I have started working on a Nuget Package for providing a is a sleek and simple Wrapper library for providing simple access to Rest API, by hiding away the complexities of HTTPClient Class.Named EcSolvo.RestHelper it is particularly designed to work along with Xamarin PCL Projects You can follow and contribute to the Nuget in Github … Continue reading EcSolvo.RestHelper Nuget

Remove Debug / Binaries from GitHub

I am pretty new to GitHub platform and one of the first mistakes I did earlier on was to commit (unknowingly) the Debug Folders and all its binaries. It was later on i found ways to add 'gitignore' files, but no matter what i did, the debug files continued to be reflected in the change … Continue reading Remove Debug / Binaries from GitHub

SOLID : Open / Closed Principle

The Open / Closed Principle focuses on one basic requirement, the classes should be Open for extensions, but closed for modification. The better way to explain the principle would be to first express the issue in hand. Consider the below class. The class itself looks good, but what if in future one needs to add … Continue reading SOLID : Open / Closed Principle