Of course it’s about refactoring Welcome to the compilation of heartbeats from my work, a mosaic of moments, musings and flashes of inspiration on software development topics. Many posts have been published first on various social media channels. Here I will continue loosely these chronicles. Enjoy reading. Refactoring 🛠️ Refactoring is the secret behind clean, …
Kategorie-Archive: Programming
ByteBeat Odyssey – Test-Driven Development
Today it’s TDD’s turn Welcome to the compilation of heartbeats from my work, a mosaic of moments, musings and flashes of inspiration on software development topics. Many posts have been published first on various social media channels. Here I will continue loosely these chronicles. Enjoy reading. Test-Driven Development 🔍 Looking to level up your development …
ByteBeat Odyssey – Software Tests
This time it’s about tests Welcome to the compilation of heartbeats from my work, a mosaic of moments, musings and flashes of inspiration on software development topics. Many posts have been published first on various social media channels. Here I will continue loosely these chronicles. Enjoy reading. Software Tests Looking to take your tests to …
ByteBeat Odyssey – Code Reviews
A new series from the daily work Welcome to the compilation of my series of heartbeats from my work, a mosaic of moments, musings and flashes of inspiration on software development topics. Each post is a snapshot, a glimpse, or a fleeting thought. This series captures the steps, missteps, and leaps that have occurred to …
Document your database
Simply and easily with SchemaSpy It has never been easier to document you db. SchemaSpy analyzes your database with tables, columns, types and indexes. It even creates diagrams with relationships of your existing database. The installation is super easy. You just have to download SchemaSpy and your database driver. Even Graphviz is no longer required. …
Id Software – Programming Principles
Produce constantly shippable codebase I had the chance to see John Romero at a conference. He talked about the Id Software programming principles. They defined these rules through experience. Each is built upon one another, so it’s a unique methodology and which helps you to produce constantly shippable codebase. You know these rules, but I …
Format code like google
Get easy look-alike readable code with IntelliJ Spotless is are really cool tool for formatting your code with build tools. If you like, you can do that with your IDE too. I show your how to configure IntelliJ, so your code is automatically formatted while you save a file. First you have to install the …
Discover updates or vulnerabilities
Keep your dependencies up-to-date with gradle This is an import task, e.g. nearly every 6 months major releases of frameworks are available or new vulnerabilities are found on a daily basis. I’ll show you two gradle plugins which helps you that your software project won’t be left behind. The first one is gradle-version-plugin. This plugin …
Creating a generic array in Java
Generic array initialization Recently I work with CompletableFutures. I used the allOf method which takes a varargs as input. Based on the request, a couple of things had to be processed. So how do I create a generic array that I could use at CompletableFuture.allof()? Array.newInstance together with toArray() does the trick. This is my …
Echo your REST calls with a echo service
Echo services are a simple tool for developing and testing When you implement a service are often in a situation where you have to call another web service, for example service B. And to complicate the situation, service B is not fully implemented or even not available. Than an echo service could make sense for …