Mastodon
Steven Schwenke's Picture

Steven Schwenke

My Name is Steven Schwenke. I am a passionate software craftsman and love to share my experiences.

Test-Driven Refactoring

Recently, I stumbled over the following code: public boolean someMethod() { List<String> list = getSomethingFromDatabase(); // something is d...

Minimizing (organizational) Variables

Gaming is part of IT. For me, it is a quite important one because my career started with computer games. While playing strategy games I noticed an interesti...

Global Setup Strategy

Recently, I began reading Clean Code by Uncle Bob (again). In chapter 11 (“Systems”), he writes about a “Global Setup Strategy” of an application. As I under...

Hibernate Missing Column ID

This article covers a problem I encountered using Hibernate 3.0 and Spring 2.5.6. Yesterday, I spend one hour to debug the following error from the Hibernat...

Using Dependency Injection

One topic of discussion I encountered in every project so far is the “right” usage of Springs Dependency Injection (DI). In this article, I want to describe ...

SVN blame vs comments in code

The other day I had a discussion with a coworker about comments. Often he annotates the parts of the code that he writes with his name / SVN name like this: ...

Cutting edge vs Legacy Systems

Recently, a colleague asked me, if I still enjoy being in the new team. I immediately answered that with an honest “yes”, although we both agree that our pr...

How I deal with TODO comments in code

„TODOs are jobs that the programmer thinks should be done, but for some reason can’t do at the moment. It might be a reminder to delete a deprecated featu...

Making a dent in the universe - as a Java Developer?!

A couple of days ago, I finished reading „Rework“ by Jason Fried and David Heinemeier Hansson. The book is about their enterprise 37 signals and mainly addr...