"It’s official! In April I will be starting an amazing new job!", I thought excitedly as I laid down my pen.
I had just signed my contract with JCore during a nice lunch with a soon-to-be colleague.
It was December 23st and signing the contract felt like an early Christmas present.
Not only would JCore offer me plenty of opportunity to develop my technical and personal skills, they also offered a fun social environment.
During the interviews I was told about pub quizzes, board game nights, Friday afternoon drinks, people playing videogames together…
It seemed so much fun!
I joined two of these events even before I officially started working for JCore.
I had a great time and I was really looking forward for this to become my new normal.
Little did I know that my actual new normal would be vastly different due to the corona crisis.
Since beginning of time mankind has been looking for a way to separate right from wrong. Where the primeval man judged righteousness by the contributions of the tribe, the current day programmer judges right by the wishes of the customer. For many years the average programmer wrote a bunch of logic to check if the boundaries defined by the client where uphold. As time went on and programming languages involved, metadata could be added to enrich functions, methods, classes and the like.
Of course for Java, these metadata are called annotations. Very soon they were used for a lot of things. Surpressing warnings, managing transactions, building XML/JSON structures and injecting dependencies. And, as you might have guessed by now, validating objects by a set of specific rules. One of the most commonly used frameworks would be the Jakarta Bean Validation framework. But what if I told you the provided annotations of that framework could be very easily expanded.
Continue reading →