Showing posts with label Good practices. Show all posts
Showing posts with label Good practices. Show all posts

Friday, October 16, 2015

Business value gone wild

This blog post will not be about microservices, Spring or any technology that I've already talked about in Too much coding blog. This time it will be my opinion on two subjects
  • the more and more frequent "it's not my problem" approach in the IT industry running in a corporation. 
  • the "business value" frenzy of the management
This article is definitely not a motivational one. Quite frankly, you might get depressed after reading it. Nonetheless, it's better to know how really corporate life sometimes looks like rather than get hit in the face.

TL;DR : the more you care in a corporate enterprise the worse for you. Eventually some developers will hate your ideas of quality and standards because they are paid to tap the keys. Your management will fire you for not bringing "business value". The faster you embrace it, the better for you - you'll start searching for a new job sooner.

Wednesday, August 28, 2013

Mockito Instant - my book has finally been published!

I am very pleased to announce that my book about Mockito entitled "Mockito Instant" has finally been published! You can buy it at Packt Publishing online shop.

Thursday, January 3, 2013

Hamcrest Matchers, Guava Predicate and Builder design pattern



Hi coding addicts :)

Often, while coding we have to deal with some POJO objects that have dozens of fields in them. Many times we initialize those classes through a constructor having dozens of arguments which is terrible in any possibly imaginable way :) Apart from that the functions that use those constructors are hardly testable. Let's take a closer look at using a Builder to change that situation, together with Hamcrest matchers and Guava Predicates to unit test it.

Let's start off with taking a look at the POJO class.