Hello peers in wisdom, Last week I was experimenting for the first time with AI tools to generate code, specifically with the code editor, Antigravity. I'll describe my configurations, experiences, expectations and results. What was my setup? Anti gravity out of the box and I used Gemini 3 Flash. I give it a detailed requirement document for a automated quoting system. What were my expectations? Semi functional project Clean hexagonal architecture Use of libraries I indicated it What was the result? It was not so good not so bad. 1. The project is semi functional as I expected, some of the most interrelated business rules were not exactly implemented as it was expected. CRUD and authentication systems were fully functional. 2. The code architecture was hexagonal as I asked for, but there were bad practices implemented such as anemic entities, use of 'any' instead of mapping with a DTO. Also there was a lack of customs errors and data v...
Hello peers in wisdom, I hope you had a wonderful week. Todays topic consist on exercising a non technical part of software. Domain-Driven Design DDD is a set of tools that makes easier to understand business experts and then translate their knowledge domain to our domain (software). I encourage you to learn more by reading and watching the resources I found useful, they are at the bottom of the post. Pricing goods The definition of the problem is on this kata . The goal, basically, is think about functionalities, edge cases and implementation for pricing goods at a supermarket. Steps I followed Event Storming . This method helped me to start defining what where the things I expected to happen in this system. In the image you can identify them by the salmon color. Its important to note that at the bottom right is defined the meaning of each box color. Commands and actors . The next step was to ask who makes what . In this case ...