Category Archives: programming

How to mock setters and why would we do that?

Partial mocking can get weird, but useful. Bear with me. Continue reading

Advertisements
Posted in java, programming | Tagged , , , | Leave a comment

Why do we need code reviews and CI?

We’ve been working in a small team. There were only two developers. We trusted each other not to do stupid things. And then … Continue reading

Posted in programming | Tagged , , , | Leave a comment

What is software development about?

Software development is not only about programming. Continue reading

Posted in programming, soft skills | Tagged , , | 3 Comments

How to execute SQL?

When we run SQL in production database, we should do it carefully. When we do any changes on production systems, we should do it carefully.

But how? It’s not about typing slowly. Continue reading

Posted in programming | Tagged , , , | 1 Comment

Stored Procedures for every DB access

Some applications use a stored procedure for every database access. Strange, isn’t it?

Nevertheless, sometimes it’s the right thing to do. Continue reading

Posted in programming | Tagged , | Leave a comment

Generating SQL with SQL

How do you write SQL commands? Sometimes I use SQL queries for that. Continue reading

Posted in programming | Tagged , | 5 Comments

Defensively? Optmistically?

Do we really want a self-driving car to show us an error console when it cannot identify an object on the Motorway? Do you want to send out a financial report when most of its records are incorrect? Continue reading

Posted in programming | Tagged , , , | 2 Comments

How to debug with triggers?

In java we got AspectJ to intercept our methods. In SQL we got triggers. A great tool for debugging. Continue reading

Posted in programming | Tagged , , , | 1 Comment

What do you want to depend on?

I must confess. Sometimes I can see fixes that make a chill go down on my spine. And it’s the wrong kind of chill. It’s the chill that tells me that something is wrong. Continue reading

Posted in programming | Tagged , , | Leave a comment

How to debug in production

Sometimes we cannot reproduce an issue. So we must log. Getting production log is an art. Continue reading

Posted in programming, Uncategorized | Tagged , , | 2 Comments