What do you like more in your application? Handling complexity when reading the data or when updating it?
Imagine you have a model such as
Product with three potential date attributes:
publication_on- Nominal date of…
Sometimes you would like to define a method which takes an optional argument, but the programmer might pass
nil. And your code needs to distinguish between the value not being provided (default value) and
nil. How can it be achieved?
Around a month ago, I worked on a task, which required a more dynamic frontend behavior. I worked on a component with 2 selects and 2 date pickers and depending on what was…
If you have low self-esteem and constantly worry (like I do), your own thoughts might be the biggest obstacle preventing you from getting great things done. Here are 4 mental tips that I use to overcome my objections.
Last week I added a final chapter about Event Sourcing to Domain-Driven Rails. It presents how you can build your aggregates using Rails Event Store with SQL DBs. It also shows how to achieve the same with EventStore.org DB. A dedicated database for…