Interface keyword in Hexagonal Architecture

Interface keyword in Hexagonal Architecture

I’ve had used Hexagonal Architecture in a variety of projects with different languages, and there is a discussion that usually arise when the language contains the keyword interface. Some people think that the hexagon interfaces should be explicit, other no, but there is no right or wrong answer and depends on the team common agreements.

In this article I will detail the way I usually implement code in languages that contains interface as a keyword. Not better nor worse, just my approximation to the problem :-)

Continue reading →