Browsed by
Monat: Januar 2010

The while-else-loop

The while-else-loop

Sometimes, „while“ and „if“ are interchangeable, for example while if you are „iterating“ over a collection that will only contain one or zero elements. In Java, both constructs have the same syntax, so I often find myself switching from one to the other. Yesterday, I didn’t notice that my „if“ construct already had an „else“ branch, and so I created a while-else-loop. It took Eclipse like 10 seconds to realize that there’s something wrong, so when I saw my error…

Weiterlesen Weiterlesen

Looking from the future onto now

Looking from the future onto now

When planing something, you normally focus on „what needs to be done first.“ I tried to take another perspective and imagine the project was already finished and I had to document it retrospectively. This way of thinking really helped me, so I want to explain the idea behind it and its outcome.

(Re-)starting a big project

(Re-)starting a big project

In this post I want to look back on many projects I started, most of which were canceled in an early stage. Anyway, I think the time is right and the decision is clear to (re-)start Cubenet, my pet project since 2005, and assign it the priority it deserves.