From Chaos There Shall Be Order

Dear Readers. Today I want to talk to you about something I discovered over years of working and experience. Also something that I can see in the world repeating over and over again. Not just in Software business but also in History in Human nature in Physics and Systems. So let’s see what I’m talking about. What is Chaos? Chaos is a state of utter confusion. Chaos is the opposite of order....

January 4, 2013 · 4 min · hannibal

Methodologies, Thought Patterns, Lies

Hello everybody. Today I’d like to write about something I discovered over the years of researching and following certain people and movements in Testing and Programming world. Let me tell you that there are quite an amazing amount of stuff to be read out there. It’s overwhelming. Let’s talk about Methodologies first. There are many out there currently. In programming and in testing too. Many speak of ways how you should or should not do you work....

December 12, 2012 · 5 min · hannibal

TEAS: Testing Exploration Adventure Session

Hello Everybody. I’d like to introduce T.E.A.S. to you. This is something I came up with yesterday which requires a lot of fantasy some good thinking planning and enthusiastic people. So, let’s get started. What is it about? Testing Exploration Adventure Session is about. Testing! There. No real surprise, eh? TEAS has it’s roots in RPGs. Role Playing Games. If you ever heard or read about M.A.G.U.S. or the more known Dungeons & Dragons you will have a better understanding of the concept behind this phenomena....

December 1, 2012 · 5 min · hannibal

How to eliminate a parameter boom

Hello folks. Today I want to write about a little trick I learned. If you are working with legacy code and you don’t have the chance to eliminate core design problems, you can use this little pattern to help you out. Problem Problem is that you have a class that has a gazillion collaborators and at some point in time one of the clever devs thought it would be a cool idea to do dependancy injection via the constructor....

October 9, 2012 · 3 min · hannibal

Coderetreat London

Hello everybody. So yesterday I was on a little gathering called Coderetreat. If you look at the link you can read everything about it. If not, I’ve provided a short description. What it is about? So what is codereatreat about? In short it’s about programmers getting together and honing and practicing there skills in order to become more at what they are doing. It’s a practice run with great people. TDDing one problem the whole day long with constantly applied constraints....

September 30, 2012 · 5 min · hannibal

What my brain is up to the whole day…

Hello folks. Here is a little graphic I made to show what my brain is up to the whole day long. Excuse me for the lack of my colouring skills. Enjoy ![Brain]1 Thanks for reading! Gergely. http://dl.dropbox.com/u/7604030/barinColored.jpg ↩︎

September 20, 2012 · 1 min · hannibal

Learning programming with a visual mind

Hi folks. Today I want to write to you about learning something with a visual mind. There are a gazillion posts out there that tell you how to learn something with a visual mind. However, there are only a few actually describing how to learn something as complicated and logical as programming. How do you draw up a function? How do you draw up a cycle or a structure? Actually these are really easy....

September 9, 2012 · 3 min · hannibal

TDD and Game of Life

So today at 8-12PM I had a great session with two friends of mine. It was awesome. Like a mini code retreat. We set down in a musky bar, drank wine and beer and cider, and decided to practice some TDD with the well known problem of Conway’s Game of Life. This challenge is really interesting. I never done it before, ever. So it was a really good practice for me....

July 12, 2012 · 3 min · hannibal

Journey into an unknown system

Aka, what you can do if you are facing and unknown framework / system you have to work with for quite some time. Get intimate You are going to live with this system for a while. The best thing you can do is getting to know it better. You have to get it to know like you would approche a fine lady. You have to ask it questions look after it, how it feels how its day was....

June 28, 2012 · 2 min · hannibal

Solution to Wrap Kata

My solution to the String Wrap Kata. The goal is to have it wrap a text on a given column width. It is not the best solution but this is my first try. I did it with TDD so there were tests first, which I’m not going to copy in.. public class WrapKata { public String wrap(String input, int columnSize) { if (input.length() <= columnSize) return input; else { return wrapLines(input, columnSize); } } private String wrapLines(String input, int columnSize) { int breakPoint = getBreakPoint(input, columnSize); String head = createHead(input, breakPoint); String tail = createTail(input, breakPoint); return head += "\n" + wrap(tail, columnSize); } private String createTail(String input, int breakPoint) { return input....

June 26, 2012 · 1 min · hannibal