Posts by Jacob van Lingen

Kotlin Discovered: Pattern Matching

Posted on by  
Jacob van Lingen

You never touched Groovy, nor did you jump on the Scala train. Clojure never attracted you; and you heard about Ceylon long after the language had already died. You are one of those old-fashioned Java folks! But now, after all those years, you want to join the cool Kotlin kids. So, where to start? Let’s discover the language together by decompiling it to Java code. Today: Pattern matching!

Continue reading →

Kotlin Discovered: Variance

Posted on by  
Jacob van Lingen

You never touched Groovy, nor did you jump on the Scala train. Clojure never attracted you; and you heard about Ceylon long after the language had already died. You are one of those old-fashioned Java folks! But now, after all those years, you want to join the cool Kotlin kids. So, where to start? Let’s discover the language together by decompiling it to Java code. Today: Covariance, contravariance and invariance!

Continue reading →

Kotlin Discovered: About statics

Posted on by  
Jacob van Lingen

You never touched Groovy, nor did you jump on the Scala train. Clojure never attracted you; and you heard about Ceylon long after the language had already died. You are one of those old-fashioned Java folks! But now, after all those years, you want to join the cool Kotlin kids. So, where to start? Let’s discover the language together by decompiling it to Java code. Today: the Companion Object and top level declarations!

Continue reading →

Kotlin Discovered: Null Safety

Posted on by  
Jacob van Lingen

You never touched Groovy, nor did you jump on the Scala train. Clojure never attracted you; and you heard about Ceylon long after the language had already died. You are one of those old-fashioned Java folks! But now, after all those years, you want to join the cool Kotlin kids. So, where to start? Let’s discover the language together by decompiling it to Java code. Today: Null Safety and the Safe Call Operator!

Continue reading →

Kotlin Discovered: Data Class

Posted on by  
Jacob van Lingen

You never touched Groovy, nor did you jump on the Scala train. Clojure never attracted you; and you heard about Ceylon long after the language had already died. You are one of those old-fashioned Java folks! But now, after all those years, you want to join the cool Kotlin kids. So, where to start? Let’s discover the language together by decompiling it to Java code. Today: the Data class!

Continue reading →

Kotlin Discovered: Standard Class

Posted on by  
Jacob van Lingen

You never touched Groovy, nor did you jump on the Scala train. Clojure never attracted you; and you heard about Ceylon long after the language had already died. You are one of those old-fashioned Java folks! But now, after all those years, you want to join the cool Kotlin kids. So, where to start? Let’s discover the language together by decompiling it to Java code. Today: the Kotlin Class!

Continue reading →

Kotlin Discovered: Functions

Posted on by  
Jacob van Lingen

You never touched Groovy, nor did you jump on the Scala train. Clojure never attracted you; and you heard about Ceylon long after the language had already died. You are one of those old-fashioned Java folks! But now, after all those years, you want to join the cool Kotlin kids. So, where to start? Let’s discover the language together by decompiling it to Java code. Today: Functions!

Continue reading →

Annotation based Dependency Injection: Breaking Down the Basics

Posted on by  
Jacob van Lingen

Jim has been coding for many years. Slowly he went from novice techie to battered veteran. The soft skin on his chin in now covered by a lush beard. The JVM does no longer hold it’s secrets like it did before. But one thing still bothers him: "Most Web-based frameworks use some kind of annotation-based Dependency Injection. How do they make it work? And could he do it himself?"

Continue reading →

Living in a changed world

Posted on by  
Jacob van Lingen

The living room was dimly lit, with the only source of light being the glow of the computer screen in front of a young woman. She sat cross-legged on the floor, headphones on, typing away furiously. Her grandfather, a wiry old man with a thick beard, sat on the couch behind her, watching her work with a sense of pride and wonder.

Continue reading →

Of wizards and functional magic

Posted on by  
Jacob van Lingen

Do you like stories? Tales that move you out of the ordinary into the extraordinary. Do you take satisfaction in programming? Where every bit, every keystroke means exactly one very thing. Do you esteem transparent functionality above all else? Then read on, to get introduced to a land of farmers, magick and wizards. But its wizards are programmers and its sorcery is called F#…​

Continue reading →

Let's talk functions

Posted on by  
Jacob van Lingen

Cologne. Anno Domini 1470. For over two hundred years German craftsmen have been working on the cathedral close the Rhine. At the very moment, master Tilman is busy decorating one of the pillars in the left center of the nave. He has done this profession for his entire live. His hands carve a figure from a grey stone. First the baby Jesus emerges. Then a head, a body and finally the feet of a man come into view. It is the saint Christopher. According to legend, together with the divine child this saint carries the burden of the entire world. It is a marvel to watch the skilled worker chisel a man from rock. And yet, if you watch him closely, you start to wonder if he really has to use his old tools. Wouldn’t he do his job even better with new shiny gear? Does the veteran artisan really know all the tricks, or could even he learn something new?

Continue reading →

shadow-left