Softwareblog - Let's talk about software-development

Softwareblog

See some thoughts on my daily work about software-development in Java with database-access and JUnit.

Temporal states for data

How can data-objects get a state to provide a data-lifecycle?
read this article

Chances and risks of the decorator-pattern

The decorator-pattern can be used to alter, extend or protect a wrapped object, but also limits the access to the original object.
read this article

Entering the unknown data-zone

How to handle unknown data on forms and what type of controls (checkbox, textbox, options, radio-buttons, switch, combobox) have which benefits and withdraws.
read this article

Common problems with common controls

Shows how common controls like tabs or treeviews cause troubles with performance when using them.
read this article

UUIDs in databases

UUIDs can be used instead of auto-increment fields or indexes over multiple fields for easy combination of recordsets.
read this article

AAA-Principle

Explains the AAA-principle in software-tests for unit-tests as a best practice.
read this article

Equals() - A quick implementation

How the equals-function can be implemented fully functional.
read this article

Create() Constructor

If you create an object, you will probably need to validate its data. What happens, if the data was invalid? Do you create an invalid object prevent the creation?
read this article

Confusing Hashsets

What happens if you change an object previously added to a Hashset.
read this article

Semantic Versioning - Big Picture

Explains semantic versioning and what the major, minor and patch levels are used for.
read this article