Storing prices as floating-point numbers
public float Total { get; set; }public decimal Total { get; set; }- Why I declined
- Floats create tiny rounding errors. Across thousands of orders, end-of-day totals stop matching the cash drawer.
A point-of-sale and inventory system for Philippine restaurants. AI handled the repetitive work. I handled the decisions that protect money, data and uptime.
Restaurants in the Philippines run on thin margins and busy rush hours. Many local owners were stuck with expensive imported POS software or manual logbooks that didn't match their stock.
They needed a system that was fast at the counter, tracked inventory down to the ingredient, worked when the internet dropped, and kept records clean for tax reporting.
I used AI as a fast first-draft partner across the build. Every output went through code review before merging.
| Task | How AI helped |
|---|---|
| API scaffolding | Generated .NET controllers, DTOs and validation from the data model |
| Front-end screens | Drafted React screens for orders, menu and inventory, refined for speed at the counter |
| Tests | Wrote first-pass unit and integration tests, including edge cases not yet listed |
| SQL tuning | Suggested indexes for slow sales reports, checked against execution plans |
| Documentation | Produced API docs and the staff guide from code and notes |
Speed only counts if the system is right. Flip each card between what AI proposed and what shipped.
public float Total { get; set; }public decimal Total { get; set; }await cloudDb.SaveAsync(order);await localDb.SaveAsync(order);
syncQueue.Enqueue(order);DELETE FROM Orders WHERE Id = @id;INSERT INTO OrderVoids
(OrderId, VoidedBy, Reason)
VALUES (@id, @user, @reason);Outcome. Owners got a full audit trail of every void and refund.
db.Database.Migrate(); // every boot// reviewed script, run after backup
// with a tested rollback planAI is brilliant at the work that's tedious and well understood. It's weakest where the stakes are high and the context is local: money, data and the conditions your users actually live with.
The speed came from letting AI do more. The quality came from knowing exactly where to stop it.
Tell me what you're building and I'll walk you through how I'd use AI on it, and where I wouldn't.
Next projectNo sales pitch. Usually replies within 24 hours.