por Carlos Ble | Jul 23, 2015 | Clean code, Test Driven Development, Testing
Among other qualities good tests should be easy to read, quick to understand. When the test requires complex data structures to be sent to the SUT or to be part of a stubbed answer, it takes longer to read. Moreover those structures use to evolve as the production...
por Carlos Ble | Jul 1, 2015 | Agile, DDD
The title of this post is redundant, pair programming is already a productivity technique. That’s my understanding or pair programming not just two people sitting together. Two people may code together for learning or mentoring purposes, however we pair for...
por Carlos Ble | Jun 23, 2015 | Clean code, DDD
The default generation of Equality members provided by Resharper let you choose three different implementations when overriding the “Equals” method in a class (Alt+Insert -> Equality Members): The default choice is “Exactly the same type as...
por Carlos Ble | Jun 21, 2015 | aida, DDD
A ViewModel is one of the three parts that comprises the MVVM (Model View View-Model). This pattern is a variation of the Presentation Model (M. Fowler). In the Presentation Model, as opposed to Passive View, the “controller” doesn’t hold any...
por Carlos Ble | Jun 21, 2015 | aida, Clean code, DDD, DDD
Heuristics, bad smells and principles in the design of our Windows 8 app, which shares the core domain with a rich JavaScript client application. In Par I, we exposed some of the difficulties we were facing when modeling. How we are working today: Our repositories...
por Carlos Ble | Jun 16, 2015 | Clean code, DDD
Today has been a special day. Not because it’s my 34th Birthday which I never really celebrate (although I do appreciate all the greetings and warm words from all my friends and family!) but because I’ve had the pleasure to spend the day working with...
por Carlos Ble | May 31, 2015 | Test Driven Development
As I am getting older my memory doesn’t work as it did some years ago. If want to remember and internalize the important stuff from all the things I study, I just have to blog about them for two reasons: being able to come back to my blog to reread record it...
por Carlos Ble | May 29, 2015 | DDD
In order for a native desktop application to be responsive, I mean, not to freeze whilst sending a request over the network or processing a heavy CPU operation, these operations have to run in a separate thread. .Net 4.0 introduced promises (a well-known concept for...
por Carlos Ble | May 19, 2015 | DDD
Note: read Part II of this post here. A Data Transfer Object (DTO) is an object intended to carry data, for example between the client and the server or between the UI and the domain layer. It exposes fields or properties (getters and setters) publicly. Sometimes a...
por Carlos Ble | Apr 19, 2015 | Agile, BDD
I had the pleasure of speaking at CukeUp! this year (2015), the fifth edition of Cucumber’s conference which is more about BDD than Cucumber itself, although there are always updates on the state of the tool (this year Matt released version 2.0 during his talk!)...