<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Home on Carsten Behrens</title><link>https://carstenbehrens.com/</link><description>Recent content in Home on Carsten Behrens</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 13 Nov 2026 04:05:09 +0000</lastBuildDate><atom:link href="https://carstenbehrens.com/index.xml" rel="self" type="application/rss+xml"/><item><title>About</title><link>https://carstenbehrens.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://carstenbehrens.com/about/</guid><description>&lt;p&gt;I&amp;rsquo;m Carsten Behrens, a senior fullstack developer with a backend focus from Hamburg, Germany, with 7 years of experience shipping products end-to-end.&lt;/p&gt;&#10;&lt;p&gt;Currently I&amp;rsquo;m at Trusted Shops, building consumer applications across web, iOS, and Android.&lt;/p&gt;&#10;&lt;h2 id="experience"&gt;Experience&lt;/h2&gt;&#10;&lt;ul class="post-log experience-log"&gt;&#10; &lt;li&gt;&lt;span&gt;Senior Fullstack Engineer · &lt;a href="https://www.trustedshops.com" target="_blank" rel="noopener"&gt;Trusted Shops&lt;/a&gt;&lt;/span&gt;&lt;time&gt;2024 – now&lt;/time&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;span&gt;Fullstack Engineer · &lt;a href="https://www.otto.de" target="_blank" rel="noopener"&gt;Otto&lt;/a&gt;&lt;/span&gt;&lt;time&gt;2021 – 2024&lt;/time&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;span&gt;Software Engineer · &lt;a href="https://www.guj.de" target="_blank" rel="noopener"&gt;Gruner + Jahr&lt;/a&gt;&lt;/span&gt;&lt;time&gt;2019 – 2021&lt;/time&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="projects"&gt;Projects&lt;/h2&gt;&#10;&lt;ul class="project-list"&gt;&#10;&#10; &lt;li class="project"&gt;&#10; &lt;h3 class="project-title"&gt;&#10; &lt;a href="https://carstenbehrens.com/boom-bap-app/" target="_blank" rel="noopener noreferrer"&gt;&lt;span class="squiggle"&gt;Boom Bap App&lt;/span&gt;&lt;/a&gt;&#10; &lt;span class="project-tagline"&gt;Sampler &amp;amp; Step Sequencer&lt;/span&gt;&#10; &lt;/h3&gt;&#10; &lt;p&gt;A browser-based sampler, step sequencer, and drum machine. Load samples, slice them up, program beats on a grid, and hear the pattern play back in real time — all triggered and scheduled in the browser.&lt;/p&gt;&#10; &lt;div class="project-shots"&gt;&#10; &#10; &lt;figure class="project-shot project-shot-wide"&gt;&#10; &lt;button type="button" class="project-shot-button" data-lightbox-src="https://carstenbehrens.com/img/projects/boom-bap-sequencer.webp" aria-label="View full-size screenshot: step sequencer"&gt;&#10; &lt;img src="https://carstenbehrens.com/img/projects/boom-bap-sequencer.webp" alt="The Boom Bap step sequencer, showing a drum pattern programmed across an 8-bar grid" width="1280" height="720" loading="lazy" decoding="async"&gt;&#10; &lt;/button&gt;&#10; &lt;/figure&gt;&#10; &#10; &lt;figure class="project-shot"&gt;&#10; &lt;button type="button" class="project-shot-button" data-lightbox-src="https://carstenbehrens.com/img/projects/boom-bap-slices.webp" aria-label="View full-size screenshot: slice editor"&gt;&#10; &lt;img src="https://carstenbehrens.com/img/projects/boom-bap-slices.webp" alt="The slice editor, with a highlighted region selected on a sample&amp;#39;s waveform" width="1280" height="720" loading="lazy" decoding="async"&gt;&#10; &lt;/button&gt;&#10; &lt;/figure&gt;&#10; &#10; &lt;figure class="project-shot"&gt;&#10; &lt;button type="button" class="project-shot-button" data-lightbox-src="https://carstenbehrens.com/img/projects/boom-bap-samples.webp" aria-label="View full-size screenshot: sample picker"&gt;&#10; &lt;img src="https://carstenbehrens.com/img/projects/boom-bap-samples.webp" alt="The sample picker, listing classic hip-hop tracks with album artwork" width="1280" height="720" loading="lazy" decoding="async"&gt;&#10; &lt;/button&gt;&#10; &lt;/figure&gt;&#10; &#10; &lt;/div&gt;&#10; &lt;ul class="tech-tags"&gt;&#10; &#10; &lt;li&gt;&lt;img src="https://carstenbehrens.com/logos/typescript.svg" alt="" class="tech-tag-icon" width="20" height="20" loading="lazy"&gt;TypeScript&lt;/li&gt;&#10; &#10; &lt;li&gt;&lt;img src="https://carstenbehrens.com/logos/react.svg" alt="" class="tech-tag-icon" width="20" height="20" loading="lazy"&gt;React&lt;/li&gt;&#10; &#10; &lt;li&gt;&lt;img src="https://carstenbehrens.com/logos/tonejs.png" alt="" class="tech-tag-icon" width="20" height="20" loading="lazy"&gt;Tone.js&lt;/li&gt;&#10; &#10; &lt;li&gt;&lt;img src="https://carstenbehrens.com/logos/wavesurfer.png" alt="" class="tech-tag-icon" width="20" height="20" loading="lazy"&gt;WaveSurfer&lt;/li&gt;&#10; &#10; &lt;li&gt;&lt;img src="https://carstenbehrens.com/logos/zustand.png" alt="" class="tech-tag-icon" width="20" height="20" loading="lazy"&gt;Zustand&lt;/li&gt;&#10; &#10; &lt;li&gt;&lt;img src="https://carstenbehrens.com/logos/tailwind.svg" alt="" class="tech-tag-icon" width="20" height="20" loading="lazy"&gt;Tailwind&lt;/li&gt;&#10; &#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10;&#10;&lt;/ul&gt;</description></item><item><title>Harness Engineering for Dummies</title><link>https://carstenbehrens.com/posts/harness-engineering-for-dummies/</link><pubDate>Fri, 13 Nov 2026 04:05:09 +0000</pubDate><guid>https://carstenbehrens.com/posts/harness-engineering-for-dummies/</guid><description>&lt;p&gt;&amp;ldquo;Harness engineering&amp;rdquo; is one of those terms that gained a lot of traction this year, and I think it will stick around for a while.&lt;/p&gt;&#10;&lt;p&gt;First of all, for my fellow non-native English speakers, this is a harness (well, technically a dog wearing one):&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://carstenbehrens.com/posts/harness-engineering-for-dummies/dog_hu_2e92d87ab70a21d5.webp" srcset="https://carstenbehrens.com/posts/harness-engineering-for-dummies/dog_hu_2e92d87ab70a21d5.webp 720w" sizes="(max-width: 45rem) 100vw, 45rem" alt="picture of a dog with a harness" width="720" height="498" loading="lazy" decoding="async"&gt;&lt;/p&gt;&#10;&lt;p&gt;But what does &amp;ldquo;harness&amp;rdquo; mean when it comes to agentic coding?&lt;/p&gt;&#10;&lt;h2 id="where-the-term-comes-from"&gt;Where the Term Comes From&lt;/h2&gt;&#10;&lt;p&gt;The term was popularized in early 2026 by &lt;strong&gt;Mitchell Hashimoto&lt;/strong&gt; in &lt;a href="https://mitchellh.com/writing/my-ai-adoption-journey#step-5-engineer-the-harness" target="_blank" rel="noopener"&gt;this blog post&lt;/a&gt;:&lt;/p&gt;</description></item><item><title>Java Generics for Dummies</title><link>https://carstenbehrens.com/posts/java-generics-for-dummies/</link><pubDate>Sat, 31 Oct 2026 08:00:00 +0100</pubDate><guid>https://carstenbehrens.com/posts/java-generics-for-dummies/</guid><description>&lt;p&gt;Generics in Java act as a type-safety enforcement mechanism that allows you to specify the exact type of objects a class, interface, or method can operate on. They enable you to write &lt;strong&gt;reusable code without sacrificing type safety&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;h2 id="type-safety"&gt;Type-Safety&lt;/h2&gt;&#10;&lt;p&gt;Before generics (introduced in Java 5) it was not possible to specify the type of collections in Java. This led to many runtime exceptions, typically &lt;code&gt;ClassCastException&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Without generics&lt;/strong&gt;&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ArrayList&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Hello&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;123&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c1"&gt;// Compiler allows this&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;// Requires casting, and crashes at runtime if the type is wrong&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;works&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;breaks&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c1"&gt;// Throws ClassCastException!&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;With generics&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>JPA and Hibernate for Dummies</title><link>https://carstenbehrens.com/posts/jpa-and-hibernate-for-dummies/</link><pubDate>Fri, 30 Oct 2026 08:00:00 +0100</pubDate><guid>https://carstenbehrens.com/posts/jpa-and-hibernate-for-dummies/</guid><description>&lt;p&gt;When working with Java you&amp;rsquo;ll eventually come across the terms &lt;strong&gt;JPA (Java Persistence API)&lt;/strong&gt; and &lt;strong&gt;Hibernate&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;h2 id="tldr"&gt;TLDR&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;JPA (Java Persistence API)&lt;/strong&gt; is a &lt;em&gt;specification&lt;/em&gt; — a set of interfaces and annotations that describes what an ORM tool should do.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Hibernate&lt;/strong&gt; is the most popular &lt;em&gt;implementation&lt;/em&gt; of that specification.&lt;/p&gt;&#10;&lt;p&gt;You write your code against the JPA interfaces. Hibernate (or another provider) does the actual work under the hood.&lt;/p&gt;&#10;&lt;h2 id="jpa-java-persistence-api-aka-jakarta-persistence"&gt;JPA (Java Persistence API) aka Jakarta Persistence&lt;/h2&gt;&#10;&lt;p&gt;JPA is a Java specification that describes what an ORM (Object-Relational Mapping) tool should do.&lt;/p&gt;</description></item><item><title>JavaBeans for Dummies</title><link>https://carstenbehrens.com/posts/javabeans-for-dummies/</link><pubDate>Wed, 28 Oct 2026 08:00:00 +0100</pubDate><guid>https://carstenbehrens.com/posts/javabeans-for-dummies/</guid><description>&lt;p&gt;When working with Java one inevitably comes across the term &amp;ldquo;Java Bean&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;The term has the same problem that many software development terms have:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;It is not clearly defined or gets used differently from its original definition.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;&amp;ldquo;Java Beans&amp;rdquo; is a case of the latter.&lt;/p&gt;&#10;&lt;h2 id="tldr"&gt;TLDR&lt;/h2&gt;&#10;&lt;p&gt;Nowadays a Java Bean is usually referred to as an object that follows these patterns:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Has a public no-argument default constructor&lt;/li&gt;&#10;&lt;li&gt;Public getters and setters (like &lt;code&gt;getName()&lt;/code&gt;, &lt;code&gt;setName()&lt;/code&gt;) for all fields&lt;/li&gt;&#10;&lt;li&gt;Implements the &lt;code&gt;java.io.Serializable&lt;/code&gt; interface&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;In modern Java, JavaBeans are primarily used as simple data containers.&lt;/p&gt;</description></item><item><title>Flutter - The Framework Everyone Loves to Hate</title><link>https://carstenbehrens.com/posts/flutter-the-framework-everyone-loves-to-hate/</link><pubDate>Tue, 06 Oct 2026 17:34:00 +0000</pubDate><guid>https://carstenbehrens.com/posts/flutter-the-framework-everyone-loves-to-hate/</guid><description>&lt;p&gt;On social media, opinions on Flutter are usually extreme: either it&amp;rsquo;s the best thing since sliced bread or it&amp;rsquo;s the worst framework ever.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.youtube.com/@t3dotgg" target="_blank" rel="noopener"&gt;Theo&lt;/a&gt;, a popular software development YouTuber, put it bluntly:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;a href="https://youtu.be/GoDXfzpYGTc?t=3242" target="_blank" rel="noopener"&gt;&amp;ldquo;I like to think it&amp;rsquo;s apparent once you&amp;rsquo;ve built a Flutter app, especially on iOS, that it&amp;rsquo;s a crap framework for building crap applications.&amp;rdquo;&lt;/a&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;It&amp;rsquo;s fair to say not everyone is a fan.&lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;ve spent three years on a production Flutter app, one codebase shipped to iOS, Android and the web. I&amp;rsquo;m not here to defend Flutter. But I think Flutter deserves a more balanced view.&lt;/p&gt;</description></item><item><title>Why You Should Not Commit Your Specs</title><link>https://carstenbehrens.com/posts/committing-specs/</link><pubDate>Fri, 18 Sep 2026 12:00:00 +0000</pubDate><guid>https://carstenbehrens.com/posts/committing-specs/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;When I say &amp;ldquo;specs&amp;rdquo; in this article I mean specs as understood in AI assisted Spec Driven Development: markdown files that describe a change before an LLM implements it.&lt;/p&gt;&#10;&lt;p&gt;I am not talking about OpenAPI, AsyncAPI or similar formats.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="context"&gt;Context&lt;/h2&gt;&#10;&lt;p&gt;Spec Driven Development (SDD) is making its way into the mainstream. The idea is not new, but it has been redefined, and when I talk about SDD I only mean its current incarnation:&lt;/p&gt;</description></item><item><title>AI Killed the Testing Pyramid</title><link>https://carstenbehrens.com/posts/ai-killed-the-testing-pyramid/</link><pubDate>Thu, 30 Jul 2026 13:05:09 +0000</pubDate><guid>https://carstenbehrens.com/posts/ai-killed-the-testing-pyramid/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt;&#10;My opinion is heavily influenced by the type of software I have worked on in my career: mostly full-stack web and mobile applications. If you &lt;a href="https://www.tbray.org/ongoing/When/202x/2021/05/15/Testing-in-2021" target="_blank" rel="noopener"&gt;build a different kind of software&lt;/a&gt;, you may reasonably come to the opposite conclusion.&lt;/p&gt;&#10;&lt;p&gt;Also, &lt;a href="https://martinfowler.com/articles/2021-test-shapes.html" target="_blank" rel="noopener"&gt;&amp;ldquo;the terms &amp;lsquo;unit test&amp;rsquo; and &amp;lsquo;integration test&amp;rsquo; have always been rather murky, even by the slippery standards of most software terminology&amp;rdquo;&lt;/a&gt;.&#10;I won&amp;rsquo;t attempt a definition here. I&amp;rsquo;ll go with what I have experienced as a software developer.&lt;/p&gt;&#10;&lt;p&gt;There is no silver bullet that applies to all types of software. Do what works. Do what you feel is right.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>The new bottleneck: Code Reviews</title><link>https://carstenbehrens.com/posts/the-new-bottleneck-code-reviews/</link><pubDate>Tue, 28 Jul 2026 14:02:03 +0000</pubDate><guid>https://carstenbehrens.com/posts/the-new-bottleneck-code-reviews/</guid><description>&lt;p&gt;It is 2026, and almost every developer I know uses AI to write their code.&lt;/p&gt;&#10;&lt;p&gt;Over the last 10 years we more or less solved software development. Code reviews, testing, QA, agile, Kanban, small teams — we knew what good looked like.&lt;/p&gt;&#10;&lt;p&gt;All of this was based on humans writing code and reading code at human speed.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://carstenbehrens.com/posts/the-new-bottleneck-code-reviews/image-1.webp" alt="Human writing something" width="468" height="352" loading="lazy" decoding="async"&gt;&lt;/p&gt;&#10;&lt;p&gt;This is not the case anymore.&lt;/p&gt;&#10;&lt;p&gt;This article is about how AI changes the way we work, and how we should change our habits to match.&lt;/p&gt;</description></item><item><title>Summary of “A Philosophy of Software Design” by John Ousterhout</title><link>https://carstenbehrens.com/posts/summary-of-a-philosophy-of-software-design-by-john-ousterhout/</link><pubDate>Fri, 29 Dec 2023 11:36:05 +0000</pubDate><guid>https://carstenbehrens.com/posts/summary-of-a-philosophy-of-software-design-by-john-ousterhout/</guid><description>&lt;p&gt;&amp;ldquo;A Philosophy of Software Design&amp;rdquo; is a book written by John Ousterhout.&#10;It summarizes the author&amp;rsquo;s extensive experience in computer science and&#10;his experience of teaching software design at Standford University. The main focus of this book is problem decomposition: &amp;ldquo;how to take a complex problem and device it up into pieces that can be solved independently.&amp;rdquo; The book provides techniques on how to deal with the complexity of software.&lt;/p&gt;</description></item><item><title>React Rendering for Dummies</title><link>https://carstenbehrens.com/posts/react-rendering-for-dummies/</link><pubDate>Thu, 24 Aug 2023 17:42:26 +0000</pubDate><guid>https://carstenbehrens.com/posts/react-rendering-for-dummies/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;React allows us to write Components that automatically update and re-render once the data of the component changes. In this blog post, I will briefly introduce how React archives this.&lt;/p&gt;&#10;&lt;p&gt;Hopefully, this blog post will answer the question:&#10;&lt;strong&gt;&amp;ldquo;What happens when I update my component state?&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;h2 id="counter-example"&gt;Counter Example&lt;/h2&gt;&#10;&lt;p&gt;Let&amp;rsquo;s take a look at an exemplary &amp;ldquo;component&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;Notice that this example does not use any build-step. Instead, we import the required libraries (React, ReactDOM, and Babel) directly inside the browser. I&amp;rsquo;m doing this because I don&amp;rsquo;t want any framework &amp;ldquo;magic&amp;rdquo; to hide what is happening here.&lt;/p&gt;</description></item><item><title>SOLID: Dependency Inversion Principle in JavaScript and TypeScript</title><link>https://carstenbehrens.com/posts/solid-dependency-inversion-principle-in-javascript-and-typescript/</link><pubDate>Tue, 18 Jan 2022 18:41:19 +0000</pubDate><guid>https://carstenbehrens.com/posts/solid-dependency-inversion-principle-in-javascript-and-typescript/</guid><description>&lt;p&gt;In this series of blog posts, I will take a look at SOLID Principles in the context of JavaScript.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;SOLID&lt;/strong&gt; is an acronym referring to the SOLID Principles of class design that were popularized by Robert C. Martin.&lt;/p&gt;&#10;&lt;h2 id="the-dependency-inversion-principle"&gt;The Dependency Inversion Principle&lt;/h2&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Modules that encapsulate high-level policy should not depend upon modules that implement details. Rather, both kinds of modules should depend upon abstractions.&lt;/p&gt;&#10;&lt;p&gt;— Robert C. Martin&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Or in a more simple way:&lt;/p&gt;</description></item><item><title>The basics of JWT (JSON Web Tokens) for Dummies</title><link>https://carstenbehrens.com/posts/the-basics-of-jwt-json-web-tokens-for-dummies/</link><pubDate>Tue, 03 Aug 2021 19:45:38 +0000</pubDate><guid>https://carstenbehrens.com/posts/the-basics-of-jwt-json-web-tokens-for-dummies/</guid><description>&lt;p&gt;JSON Web Tokens are a proposed internet standard that allows for stateless authentication.&lt;/p&gt;&#10;&lt;h2 id="use"&gt;Use&lt;/h2&gt;&#10;&lt;p&gt;JWT are mostly used to authenticate users in the context of websites / web application.&lt;/p&gt;&#10;&lt;h2 id="example"&gt;Example&lt;/h2&gt;&#10;&lt;p&gt;Before going into the nitty-gritty here is a simple example of its usage:&lt;/p&gt;&#10;&lt;p&gt;Let&amp;rsquo;s say we have a Web Application called Tweeter, this Web Application can do a bunch of fancy stuff but let&amp;rsquo;s focus on the user profile. Now obviously each user should only be able to access their own user profile settings.&lt;/p&gt;</description></item><item><title>What is Business Logic anyway?</title><link>https://carstenbehrens.com/posts/what-is-business-logic-anyway/</link><pubDate>Wed, 28 Apr 2021 09:31:08 +0000</pubDate><guid>https://carstenbehrens.com/posts/what-is-business-logic-anyway/</guid><description>&lt;p&gt;The term business logic is often used by developers when talking about software design and clean code. But understanding what it means can be confusing.&lt;/p&gt;&#10;&lt;p&gt;Here is the definition of business logic on Wikipedia:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;In computer software, business logic or domain logic is the part of the program that encodes the real-world business rules that determine how data can be created, stored, and changed. It is contrasted with the remainder of the software that might be concerned with lower-level details of managing a database or displaying the user interface, system infrastructure, or generally connecting various parts of the program.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>How I became a professional self-taught developer in Germany while working a full time job</title><link>https://carstenbehrens.com/posts/how-i-became-a-professional-self-taught-developer-in-germany-while-working-a-full-time-job/</link><pubDate>Mon, 15 Mar 2021 20:29:31 +0000</pubDate><guid>https://carstenbehrens.com/posts/how-i-became-a-professional-self-taught-developer-in-germany-while-working-a-full-time-job/</guid><description>&lt;p&gt;There are many stories online from self-taught developers that share their journey.&#10;Most of these stories are from developers in the USA.&lt;/p&gt;&#10;&lt;p&gt;I have never stumbled upon a story from a German self-taught developer or from someone that got a job in Germany as a self-taught developer.&lt;/p&gt;&#10;&lt;p&gt;Since that&amp;rsquo;s exactly what I did, I decided to share my journey here.&#10;Hopefully, this blog post will help someone to avoid the mistakes that I made and also learn from the good decisions that I made.&lt;/p&gt;</description></item><item><title>SOLID: Open-Closed Principle in JavaScript</title><link>https://carstenbehrens.com/posts/solid-open-closed-principle-in-javascript/</link><pubDate>Mon, 20 Jan 2020 16:38:50 +0000</pubDate><guid>https://carstenbehrens.com/posts/solid-open-closed-principle-in-javascript/</guid><description>&lt;p&gt;&lt;strong&gt;SOLID&lt;/strong&gt; is an acronym referring to the SOLID Principles of class design that were popularized by Robert C. Martin.&lt;/p&gt;&#10;&lt;p&gt;Usually, these principles get applied to OOP languages that have classes. JavaScript is different in that it uses prototypal inheritance instead of classical inheritance. In the code samples, I will be using the ES6 class syntax because I prefer the new syntax over the ES5 syntax.&lt;/p&gt;&#10;&lt;h2 id="the-open-closed-principle"&gt;The Open-Closed Principle&lt;/h2&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;A software artifact should be open for extension but closed for modification.&lt;/p&gt;&#10;&lt;p&gt;— Bertrand Meyer&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>SOLID: Interface Segregation Principle in JavaScript and TypeScript</title><link>https://carstenbehrens.com/posts/interface-segregation-principle-in-javascript-and-typescript/</link><pubDate>Fri, 17 Jan 2020 08:19:18 +0000</pubDate><guid>https://carstenbehrens.com/posts/interface-segregation-principle-in-javascript-and-typescript/</guid><description>&lt;p&gt;In this series of Blog Posts, I will take a look at SOLID Principles in the context of JavaScript and TypeScript.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;SOLID&lt;/strong&gt; is an acronym referring to the SOLID Principles of class design that were popularized by Robert C. Martin.&lt;/p&gt;&#10;&lt;p&gt;Usually, these principles get applied to OOP languages that have classes. JavaScript is different in that it uses prototypal inheritance instead of classical inheritance. In the code samples, I will be using ES6 classes because I prefer the new syntax over the ES5 syntax.&lt;/p&gt;</description></item><item><title>SOLID: Single Responsibility Principle in JavaScript</title><link>https://carstenbehrens.com/posts/single-responsibility-principle-in-javascript/</link><pubDate>Fri, 17 Jan 2020 08:12:03 +0000</pubDate><guid>https://carstenbehrens.com/posts/single-responsibility-principle-in-javascript/</guid><description>&lt;p&gt;&lt;strong&gt;SOLID&lt;/strong&gt; is an acronym referring to the SOLID Principles of class design that were popularized by Robert C. Martin.&lt;/p&gt;&#10;&lt;p&gt;Usually, these principles get applied to OOP languages that have classes. JavaScript is different in that it uses prototypal inheritance instead of classical inheritance. In the code samples, I will be using ES6 classes because I prefer the new syntax over the ES5 syntax.&lt;/p&gt;&#10;&lt;h2 id="the-single-responsibility-principle"&gt;The Single Responsibility Principle&lt;/h2&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;A class should have one, and only one, reason to change.&lt;/p&gt;&#10;&lt;p&gt;— Robert C. Martin&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item></channel></rss>