Simplify Java: Reducing Unnecessary Layers and Interfaces

preview_player
Показать описание
Unlock the power of simplicity in Java! Explore the benefits of streamlining your code by reducing unnecessary layers and interfaces. Learn how simplicity enhances maintainability without sacrificing functionality. Perfect for Java enthusiasts and those looking to optimize their development process.

00:00 Introduction
01:12 Over interfaces
03:49 Delay layer

Social Media:
Рекомендации по теме
Комментарии
Автор

I completely agree with that, we, as software developers, need to build code easy to understand and to maintain.

elailson
Автор

I'm thrilled to see someone discussing this topic. In one of my interviews, I struggled to explain to my interviewers why I should create an interface (or abstraction) when I'm not certain about the final contract's appearance. If you can imagine multiple ways to implement something while writing a specific class, then introducing an interface makes sense. Otherwise, it just adds complexity, like you mentioned, and can be seen as a delay layer.

jamilxt
Автор

tks Otávio! You just saved millions of useless lines of code! Simplicity is beauty!

LuizPais
Автор

Facade -> Delegate -> Service -> Repository -> DAO -> OMG! !
Useless layers are red flag for maintainability

DevMultitask
Автор

I had the exact same discussion here. Company/Teams trying to create the first version of a microservice using a hexagon architecture with all ports and adapters (bunch of unnecessary layers) that does make sense to me. Of course, lost the fight with all “experts” in the room.

hwnetohermes
Автор

That's make so sense for me. I hope we can explain that to our partners one day. This is a DDD practice?

mikaelmedeiros
join shbcf.ru