Ricardo Tealdi blog

Yet another tech blog

Decoupling state machines from models

| Comments

Sometimes when we’re dealing with asynchronous processing with more than one step, we need to control its flow by storing states for each step to avoid processing the same step twice if it stops during the processing. Depending on the complexity of the flow, we need to create a state machine to control it.

Unit tests: Do you really know their benefits?

| Comments

I’m still used to hearing from software developers that unit tests are a waste of time. Actually, I think this way of thinking is caused by a superficial understanding about unit tests (or even about OOP) and the fact that they don’t want to add a new step on their process of software development to write tests, for something that they can’t understand its benefits.