Daniel Valfridsson

Over 15 years of professional software experiance, mainly focus on object-oriented design, architecture and programming. Experience from large integration projects to small utiliy system/libraries.

Feb 172013
 

We have started a small project to build a web-ROTI, that is an app that can be used to measure how good your meetings are. After one day of hacking we have a MVP.

Web-ROTI (Return On Time Invested) is a tool to gauge the time spent on meetings and improve them.
ROTI can easily be measured on whiteboard or paper but you are running the risk of getting a biased result when the voters see other votes. In Web-ROTI the vote is given without bias, as a bonus it calculates the average as well.
A vote is a number between 1 and 5
  1. A complete waste of time
  2. Not so good
  3. Break even, my gain is equal to the time spent
  4. Positive
  5. Superb, I could not have used this time better Continue reading »
Apr 232012
 

How many times have you created ad-hoc classes, when you need to return multiple values? Would it not be better if your programming language natively would support it, when you want to send a group of values? Java currently has no native support for Tuple’s, but with the use of generics, there’s a solution.

Continue reading »

Mar 022012
 

The builder pattern is great, isn’t it? It lets you create nice immutable classes without the need for multiple constructors and it gives the API users freedom in choosing which arguments they want to use when creating the instance. But what happens when you want to tell the user that she must call one builder method or the other, since it is crucial for the class you’re trying to build? The builder pattern simply doesn’t have such a feature. This post will try to give an alternative solution to this problem.

Continue reading »