Error handling – categorization and best practices

Error handling – categorization and best practices

While working with different teams in the Java world, I found that many people intuitively know how to deal with software errors. I found it fascinating that so many people came with the same solution, in so many different places. This must be some sort of a pattern that we are yet to name, since we have already named Pokemon exception handling. Categorisation Even though the idea for this article came from Pokemon exception handling, in order to convince people…

Read More Read More

Repositories – why and how not to use them?

Repositories – why and how not to use them?

Story time It’s really a sin not to use a repository, but I can be forgiven if I don’t use it in an example.Consider your software dealing with customers, which, internally, have different features based on when the customer signed up and his status. If customer is registered less than 5 days ago, you should display a big red button saying ‘buy this feature’, and in the back office, you should prioritize tickets these customers create. Let’s call these customers…

Read More Read More