Highly Opinionated Thoughts on Programming

by Elnur Abdurrakhimov

Keep Domain Logic Out of Controllers

Oct 31, 2015

To understand why domain logic doesn't belong in controllers, it makes sense to understand what's the main responsibility of controllers is.

Automated Tests as a Competitive Advantage

Jun 14, 2015

Most of us have heard of at least one project that at a certain point became so complex and unmaintainable that people involved in it developed a fear of touching the code and the project slowly stagnated to death and got replaced by more agile competitors.

DigitalOcean Droplet Corruption

Jun 5, 2015

If you spin up a droplet and deploy a simple site to it and never touch it again, don’t expect it to be up and running forever. It’s likely that the disk will get corrupted several weeks or months later. It happened to me 5 times now. Once I even got a newly restored droplet corrupted again in less than a week. It was a completely new droplet in another data center set up from scratch — not from their backups. That excludes corruption of the backup if there was one.

Testing Is Not a Choice

May 30, 2015

I see a lot of teams debating whether or not they should be writing automated tests. In fact, I see even more teams not writing any tests at all, but that’s another story.

Keep Domain Logic Out of Controllers

May 30, 2015

I see domain logic in controllers too often and I hope that after this post I’ll see it at least a bit less.

© Elnur Abdurrakhimov