Welcome to Dead Code Rising

Dive into a wide range of advice, tips, and in-depth tutorials on software development



How to smoothly develop node modules locally using npm link

So you've found a small piece of code that is a perfect candidate to become a reusable node module. You extract the code into a module, but then begs the question — how can you test the module locally in a project? JavaScript is all about modules nowadays. With minimal effort…


Java 9 & 10: 4 new methods in the Optional API

One of the coolest things that where introduced in Java 8 was the Optional API. I've earlier written about how Optional can clean up your code. In short terms, Optional is a container object that may or may not contain a non-null value. It also offers a great range of…




Java 9: filtering and flatmapping - Two new collectors for your Streams

If you've worked with streams you've probably played around with the Collectors class. In earlier posts I've looked at how you can accumulate elements of a stream using Collectors as well as looking at how you can create a custom collector. In this post we're going to take a look…


ES6: Create, modify and interact with Maps in JavaScript

In this post we're going to take a look at a new data structure introduced in ES6 called Map. The Map data structure is probably familiar to most people out there, either from other languages or the similarities to the JavaScript object literal. Now let's dive into how JavaScripts version…