Marcos Fernández (@marcosdev) header
Marcos Fernández (@marcosdev) profile picture

Chief Software Architect at Ávoris @avoristravel. Trying to be always be a better a software crafter. Proud father of two kids.

Mallorca - Spain
Joined February 2011
Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)Photo by Marcos Fernández (@marcosdev)
Marcos Fernández retweeted
Hexagonal Architecture might be proposed to solve the problems back in the days. But that is completely unnecessary and I would even say overkill for most of the applications. All the driver side, driven side, port, adapter, etc is just more buzzwords describing decoupling the implementation using programming-to-interfaces technique. Nothing more, nothing less. I took one of the Hexagonal Architecture implementation of a Spring Boot app github.com/sivaprasadreddy/h… Created the same application using simple layered architecture (layered-app module) and yet achieve the goals: * Separation of the concerns ✅ * Testability ✅ * Less code, more readable & to the point 🎯 * No unnecessary interfaces with only one implementation 🚫 * No InMemory implementations just for satisfying imaginary testing/local_dev requirements. Use Testcontainers to test with what actual DB you use in production. 🚫 * Made the Service layer as transactional boundary as it should be. ☑️ Stop cargo-cult programming.
3
13
114
9,004
Deploying a high load application to production with @java 25 it's a nice way to start the day. #StartMigrationToJava25 #Java25 #Java
27
Marcos Fernández retweeted
OpenJDK PR with significant improvements to sorting implementation: "* introduced Radix in parallel sorting which shows several times performance boost and has linear complexity instead of n*ln(n) * improved mixed insertion sort * improved merging sort for almost sorted data..."
2
9
32
3,480
Replying to @Stephan007
Here we go!!!! For the third year we will come back to #Devoxx Belgium. 🥳🎉
2
142
Marcos Fernández retweeted
No one wants to program in a dynamically typed language. No one says, "I want this string variable to hold a string an integer now". Hold your defense of Python and JS — read on. I'll explain why dynamically typed languages exist, what they're good for, and why they're still here
29
44
13
504
96,584
Thanks @speakjava for the photo. Such an incredible opportunity to meet in person people you learned a lot from.
2
79
Let’s start the day in the best way possible at #Devoxx with a super interesting session with @venkat_s. Design patterns revisited in modern Java
1
102
Here we go again. One year later I’m here again, but this time with my friend @vincese . #Devoxx
1
5
924
Marcos Fernández retweeted
Java 23 is now available! #Java23 #JDK23 #OpenJDK Download Now: social.ora.cl/6017oGnDN Release notes: social.ora.cl/6019oGnDf API Javadoc: social.ora.cl/6010oGnDA Features: social.ora.cl/6011oGnD7 Blog: social.ora.cl/6013oGnDh
30
281
46
805
159,409
Replying to @Stephan007
I’ve got it, I will repeat for second year!!!! #Devoxx 🥳
2
199
Replying to @S_Dietrich
Not typically, but I’ve found a lot of them where this “bug” is done in a very hot path.
1
16
In an enterprise environment, it’s quite normal to have a parent pom where a set of dependencies, properties or plugins and configured. It’s the same scenario, you need to know it to don’t create a mess.
1
56
It’s not about frameworks, it’s about knowing that you have a dependencies managed by dependency management. You need to know which ones are managed and which not.
1
60
If you are working in a Spring Boot application, please, when you add a new dependency, think if it’s necessary to set dependency’s version or it’s already managed by Spring Boot.
1
3
11
817
People doesn’t think too much about the cost of creating instances of java.time.format.DateTimeFormatter, and the worst thing is that is a thread safe class. 🤦🏻‍♂️
1
101