@juliendubois Do you find the code maintainable? Do you assume that the maintenance will have to go through the same process using AI or do you think a human be able to maintain this even without AI?
@sivalabs@intellijidea@claudeai What about GitHub copilot from inside intellij? Plugin is not very advanced, but you can run agentic flows and use various models including Claude's. I kind of prefer the IDE integration but I am still testing claude code cli
@vlad_mihalcea@palhoye Could your share your findings on DDD best practices? Because I ve been looking into DDD + hexagonal arch for years now and it was not easy to find practical best practices - it seems that everyone interprets the theory (blue book mainly) differently
@VaughnVernon@kksven You can find every book online in English (illegally) so I have a hard time believing that the photocopies in Latin America do so much damage
@odrotbohm Could you expand a bit? Why would you need Hex in a domain that does not change (seems overkill)? Also, isn't one reason of using Hex to allow the domain to be independent of the outside? So business logic can change all the time without affecting the rest? What am I missing
@rieckpil What if we take care of 3, is 1 a problem anymore? So if I have let's say 2 contexts cached is it still a problem to use SpringBootTest extensively?
@sivalabs@Khim_mwachssmo@VaughnVernon you actually liked that tweet... this should have been an interesting conversation but it has degenerated completely. sad
@TomHombergs@VaughnVernon So the domain service is inside the domain but it is only an interface. And it is implemented outside the domain if it needs to depend on a repository. Otherwise, it doesn't need to be an interface if it only contains domain logic. Is my understanding correct more or less?
How to handle validation rules that need to access the db? Either in the application layer then it looks like layered architecture all over again, where the service layer has business logic. Or in a domain service then, wouldn't the domain be coupled with infrastructure details?
@VaughnVernon@TomHombergs Who said anything about misleading? Obviously my original and additional questions are about understanding fundemental concepts. I wouldn't have mentioned you in the tweet if I hadn't read your book(s) :) Anyway, thank you for taking the time to answer.
@VaughnVernon@TomHombergs 2) More importantly, If the domain services start to accumulate business logic (because lots of business logic/rules will need access to the db in a real word application right?) it seems to me like we just replaced the service layer with the domain service layer
@VaughnVernon@TomHombergs Sorry if I wasn't clear. Indeed I meant business rules validations that might need to query the db to check if record already exists (or even more complex checks)