Matteo Di Pirro

  I am an enthusiastic young software engineer who specialized in the theory of programming languages and type safety. I enjoy learning and experimenting with new technologies and languages, looking for effective ways to employ them.


6 Stories by Matteo Di Pirro

The guide to conditional types in TypeScript

TypeScript has support for conditional types, which might seem like a niche feature, but they're a useful addition for writing reusable code.
0 6 min read

Assertion functions in TypeScript

Let's explore assertion functions in TypeScript and see how they can be used to express invariants on our variables.
0 5 min read

How to create static methods and classes in Kotlin

Here's a look at how declaring static classes can be achieved in Kotlin and the benefits of it with respect to code reusability.
0 7 min read

Manjaro vs. Arch: Choosing your post-Ubuntu OS

Arch and Manjaro can provide more flexibility and power compared to Ubuntu. But which should you choose? Let's compare the two to find out.
11 5 min read

Optional chaining and nullish coalescing in TypeScript

Use two features of TypeScript 3.7: optional chaining and nullish coalescing, to write simple code without never-ending conditionals.
2 4 min read vs Comparing alternatives for .eth domain resolution

Compare and, two alternatives to resolve .eth domains using ENS.
0 4 min read