
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
- Tweets1.1K
- Following293
- Followers183
- Likes770
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.
Deploying a high load application to production with @java 25 it's a nice way to start the day. #StartMigrationToJava25 #Java25 #Java
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..."
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
Marcos Fernández retweeted
Top REST API Design Pitfalls - presentation slides for my talk today
slideshare.net/slideshow/top…
Thanks @speakjava for the photo. Such an incredible opportunity to meet in person people you learned a lot from.
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
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.
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. 🤦🏻♂️
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…
Marcos Fernández retweeted
This is what I imagine doing large renames like in a language without static typing
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
The best way to star the day, learning being more productive with @intellijidea by the great @heinzkabutz #devoxx – at Antwerp, Belgium























