My name is Adrian Smith.

I am a software developer, software architect and performance consultant. Originally from the UK, working in Vienna since 1998. These days I mainly work on web software using Java.

This is my blog, where I write about topics such as: software architecture, programming languages, databases and others.
(And, ocassionally, my life.)

Blogging since
Follow me: Facebook | Twitter | Email

Latest Post

Reduce bugs by: not using toString()The trouble with toString() in Java (or ToString() in C#) is that every object implements it. If you want to extract information from your object, define your own method, like getName(), as opposed to overriding toString(). In order to leverage the Java type-checker, you might want to define a class like FooName to wrap a String, as opposed to simply using a String. That way, a method that expects a name of a foo is both more self-documenting, and will now fail when pass the name of a bar. Read more...
More content: All posts | All categories
Proudly powered by Hugo, with a custom theme developed by myself