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
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
503
96,582
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,407
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
Marcos Fernández retweeted
Sorry, all you many fans of java.util.Date, but since Java refuses to deprecate it, we're deprecating it in Jakarta Persistence. in.relation.to/2024/04/22/st…
11
48
4
248
32,020
Marcos Fernández retweeted
This is what I imagine doing large renames like in a language without static typing
10
5
137
12,266
🚨#Java 22 is now available!🚨 Your ✅ FREE ✅ Multi-Platform ✅ Production-Ready ✅ Open Source ✅ Binary Release made available from @oracle. Learn more ➡️ inside.java/2024/03/19/the-a… #Java22 #JDK22 #OpenJDK #JDK
2
65
16
173
27,489
It’s sad, but #devoxx has finished, I hope I will be able to come back soon, I enjoyed it a lot. Last talk of the day, by @BrianGoetz, has shown us great possible features that would be added to Java in the future
1
107
Today I had the opportunity to greet in person @AdamBien who influenced me a lot in my early days as a java developer, and he still it does. Thanks for the great talk and gotten a lot of ideas 😊🙌🏻 #devoxx
1
1
9
1,995
The best way to star the day, learning being more productive with @intellijidea by the great @heinzkabutz #devoxx – at Antwerp, Belgium
71