Try Kotlin for your next side project

05.04.2018 by Jens in Developers Life | Learning | Newsletter

I’ve recently started a Spring Boot local meetup here in Frankfurt. We already had a great start with a talk about “Moving from Java to Kotlin with Spring Boot”. It was great to get first-hand experience from devs who already work with the Kotlin-Spring Boot combination.


DRY or not?

04.04.2018 by Jens in Developers Life | Learning | Newsletter

DRY is another principle and commonly riding along the other two. DRY stands for don’t repeat yourself; meaning “Every piece of knowledge must have a single, unambiguous, authoritative representation within a system” aka writing that piece of code, schema, whatever once for the entire system and re-use. Don’t duplicate code if it’s logically related.


YAGNI

03.04.2018 by Jens in Developers Life | Learning | Newsletter

Another true principle of our craft is YAGNI - You ain’t gonna need it.


KISS

29.03.2018 by Jens in Developers Life | Learning | Newsletter

One of the key principles we devs violate way too often. We devs love complex systems too much.
For those unfamiliar with the acronym and principles. It stands for Keep it simple, stupid.


Do you have a side-project?

28.03.2018 by Jens in Developers Life | Learning | Newsletter

I am a firm believer that anyone should have a side-project. It does not matter if it is for pure learning purposes, fun or with the goal of making money.


Measuring execution time

27.03.2018 by Jens in Developers Life | Learning | Newsletter

Sometimes, we have to measure the execution time of certain code blocks. The traditional way would be to capture start and stop time with System.nanoTime() and print out the difference.
Works, but gets messy when you try to capture more than one time.


Is performance important?

26.03.2018 by Jens in Developers Life | Learning | Newsletter

I bet your answer will be something like “yes, definitely, or are you crazy?”.


Should we update legacy projects?

22.03.2018 by Jens in Developers Life | Learning | Newsletter

I’ve started helping out on a pretty old legacy system. It’s in its second decade and probably not far away from 20 years of existence. It went through many developer hands, everybody leaving its mark on it, myself included. There have been several attempts to reinvent it or at least parts of it, but none has been really successful so far. It is a mess, but it still works.


Basic Properties Handling in Spring Boot

14.03.2018 by Jens in Spring Boot | Newsletter

I covered properties handling in Spring Boot a while ago in my Learnletter. This page summarize all emails to make it easier for you to dive into the topic.


Failed to load ApplicationContext...

13.03.2018 by Jens in Developers Life | Learning | Newsletter

That’s the most common error when starting with Spring. Most of the time, it is an error made by us and Spring complains rightly. Sometimes, however, it is not one simple, stupid error caused by us. Reader Mark did have one of those rare exceptions last week.