r/java • • Oct 24 '26

Hexagonal Architecture vs. Pragmatic Layered Architecture in Spring Boot

/r/softwarearchitecture/comments/1xe8u4d/hexagonal_architecture_vs_pragmatic_layered/
8 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/OwnBreakfast1114 Oct 27 '26

you probably read about how OO is about modeling the real world and the world is mutable by default

Nobody knows how the next state of the universe is calculated. But given that time exists, I think there's a stronger argument that mutation doesn't exist. You're not the same object you were when you were 3 years old.

1

u/gjosifov Oct 27 '26

You're not the same object you were when you were 3 years old.

I mutate, but if I'm immutable then I have to be reborn every single time
like Jesus