Guarding against any-typed values in TypeScript

May 27, 2020

Typescript has improved my web app developemnt life signinificantly for several years already. During this time I’ve gradually learned to think in terms of structural types and to use the type system in ways that provide helpful guarantees about the behavior of the application code.

Master's Thesis: Statically typed programming languages in the JavaScript ecosystem: A type system perspective

January 1, 2020

My Master’s Thesis on programming language and type system theory is published. The thesis explores several languages and approaches to statically typed Javascript-compiled languages. Find the thesis here.

Transforming Typescript types to io-ts runtime validators with ts-to-io

September 22, 2019

During the last few years I’ve witnessed a major increase in the adoption of TypeScript in both frontend and server-side projects. I’m a big fan of static types for the web (and elsewhere) and also prefer TS for all my greenfield projects and also believe adding types to existing projects whenever possible.

GraphQL and CORS

February 3, 2019

I’ve recently built some small things using GraphQL at the API level. It’s been fun and refreshing but at the same time I feel there’s so much new things that it feels a bit overwhelming.

Styled-components: Experience so far

June 18, 2017

Styled-components is a styling library for React. As the name suggests, styling is applied at component level. Styled-components is a so-called CSS-in-JS library, meaning that styles are generated from Javascript (or JSX) files.

Keeping Redux state shallow – Part one: why

January 22, 2017

Possibly the most important lesson I’ve learned while building applications with React + Redux combo is to keep the Redux state object as shallow as possible. If only I had known this since beginning, I would have saved so much time and patience not having to go through extensive refactoring ever so often. Now I want to share what I’ve learned on how to manage the state like a boss.

How I stumbled into open source contributing

January 7, 2017

Happy 2017 everyone! The new year marks a one-year milestone for my blog, too. Neat! That actually has quite a lot to do with the story I wanted to share today.

Github, why no repository line count?

September 25, 2016

GitHub is a great platform for collaboration and sharing in software development. During the recent GitHub Universe 2016 event the platform had its “biggest update yet”. The update delivered some pretty impressive features that are already making collaboration and management of software projects easier. Unfortunately, the one little feature that I’ve been hoping for still didn’t make an appearance.

Animated onclick scroller in pure JS

July 24, 2016

I was searching for a good pure Javascript implementation for animated scrolling to a target on click. Surprisingly, my google-fu was only able to come up with implementations dependent on jQuery. Thus I was forced to come up with my own solution and thought that it would be worth sharing. You can test the animation by clicking the subscript1.

It's propably not that !important

July 12, 2016

Quite recently I sort of inherited a large frontend code base. The (S)CSS and Javascript were partially shared by several somewhat complex sites the styles of which were build in a rather “incremental” fashion - meaning that a new feature meant tons of new CSS. While simultaneously trying to make minimal adjustments and grasp the bigger picture, I started to think about structure and patterns in CSS stylesheets.

The Bezier curve for web developers

March 23, 2016

Many frontend developers and web designers have run into the term Bezier curve at some point in their career. Some have seen it on a graphics editor, others in animation tools. Most have propably passed by not quite knowing what’s really going on and getting by anyway.

The state of CSS and preprocessors

February 20, 2016

After all these years the sheer speed of change in web development never ceases to amaze me. This time the thing that got me by suprise was the state of CSS and especially CSS preprocessors.

Yay words!

January 25, 2016

I don’t really like to worry about productivity too much. I’ve noticed that doing stuff I like the way I like is enough to get the most out of my time.

The 2016 Redesign

January 2, 2016

With the first real post, you’ll have to bear with some meta. While setting the foundations of the blog, I also did quite a lot of redesigning with the site, both development and content wise. Here’s what happened.

Something new

January 1, 2016

Today I’m taking a big leap forward with the site and doing something I’ve never done before.