Tag Archives: Test driven development

Design Pattern : Mediator

by Paul Lorena The communication between objects can lead us to a typically wrong design. The developer is tempted to write a “dirty” code, for example: 1: class Program 2: { 3: static void Main(string[] args) 4: { 5: Credito … Continue reading

Posted in Architecture, Development | Tagged , | Leave a comment

IComparable

By : Paul Lorena IntroduccionMuchas veces nos vemos en el caso de comparar 2 objetos, para verificar si son iguales, por ejemplo una entidad Alumno A, y la entidad Alumno B. como lo podemos comparar? claro la manera mas simple … Continue reading

Posted in Architecture, Development | Tagged , , | Leave a comment

Atributtes(Parte 2)

by : Paul Lorena Clase ‘InsertarRevistaAttribute” el contiene propiedades ID, ISBN, y Titulo, esta clase hace herencia de Attribute, y ademas tiene el atributo ‘AttributeUssage” [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]public class InsertarRevistaAttribute : Attribute{public string ISBN { get; set; }public string … Continue reading

Posted in Development | Tagged , | Leave a comment

Test Driven Development TDD

By Paul Lorena I’m not aim to convince you to embrace the TDD. I’m discovering the TDD, I’ve a lot of “Byzantines” discussions with my colleagues at work… I’m pragmatic guy, I prefer have something concrete In beginning, we’re software … Continue reading

Posted in Development | Tagged | Leave a comment

Refactoring

  By Paul Lorena   I’m reading the Martin Fowler’s book “Refactoring: Improving the Design of Existing Code”. It’s a good way to spend the time in the train (I have 1 hour in the train… before get the work). … Continue reading

Posted in Development | Tagged , | Leave a comment