Object-Oriented Programming has brought lot of very interesting discussions over the years. One of them is about deciding when one should use inheritance, or composition. I read a pretty nice article about it recently. Here is how the article ends: Inheritance should only be used when: Both classes are in the same logical domain The […]

  This text comes from Eric Evans’ book, Domain-Driven Design – Tackling the Complexity in the Heart of Software. It is in Chapter 6: The Life Cycle of a Domain Object. A Factory handles the beginning of an object’s life; a Repository helps manage the middle and the end. When objects are being held in memory, or […]

Are you continuously integrating your development efforts into a stable pipeline? Are your teammates doing the same? Is that practice encouraged inside your organization? I hope it is. If not, get on the “right” path starting today. Be vocal about the merits of doing Continuous Integration (CI) properly. Make sure you integrate your new code often […]

You open Console2, starts working with Cygwin or GitBash, and all the sudden, the UP and DOWN arrow keys are not working. They don’t repeat the most recent command you’ve run. You know what??? Check the SCROLL LOCK key on your keyboard. You might have that activated. Cheers, my friend

Are you planning on using Splunk? Why? If you are not sure, consider the following. Today, in this world of Machine data. and constant stream of information, there is always a need to take advantage of this massive amount of bits that are collected. And Splunk, can help you at that. Among many things, it does […]

ASP.NET is quite a good framework for web applications. I enjoy working with it. Although it is not the only one I use, I have been building great things using it over the last couple of years. Recently, a new Razor edition has been introduced under the name of Tag Helpers. It aims at making the code […]

As Martin Fowler mentions it in his article, the basic idea of the Dependency Injection (DI) is to have a separate object, that populates a field in another class with an appropriate implementation of a specific interface. DI can be applied in three different ways: Constructor Injection, Setter Injection, and Interface Injection. A container I’ve used on several […]

Follow

Get every new post delivered to your Inbox.