A good presentation about unit testing – the proper way 🙂 https://vimeo.com/108007508
Category: Design Patterns
Select items from a list without repetition
There are more solutions how to select items from a list randomly Initial steps: Cycle from 1 to N Select the item at random index, add it to the result array Solutions: if the item is already in the list skip. Drawbacks: your number of iterations could be huge Remove the item from the original […]
Robert C. Martin: Clean Architecture and Design
Awesome (and funny) presentation about architecture, design, IT history and people. Watch, learn, enjoy:http://youtu.be/asLUTiJJqdE The same topic, same guy, still different presentations: http://vimeo.com/43612849 And another:Â http://youtu.be/DTk0DBpQveM And the newest:Â http://vimeo.com/68215570
Design Patterns and Principles
Introduction This article is a cheat sheet of the most used design patterns and principles. This was not made to teach you. This was made to make you remember what you already understood. Basic definitions Several design patterns based on the following Wrapper Hold a reference to another object. Sometimes it means the owner manages […]
Singleton – the Anti-Pattern
Avoid to use the Singletons – if possible Everybody knows the singleton pattern. If you want to allow in an app to use only one instance of an object you implement a static/class method which provides the instance for the caller and deny any other allocation. While there are situations where this is the only […]