Louis Petrik
Obviously me. Source: Also me.

Hi, my name is Louis. I’m 20 years old.

In this post, you can find out what I do away from espresso commercials.
Here is a small overview:

About me Where to find meContent on various topics you might like: 
- Programming
- Money / Finance
- Philosophy / Society
- Self…

Source: @hostreviews at unsplash

Protect Your Money — From a Bankruptcy

In most countries of the world, there is so-called deposit insurance.

This insurance usually is government-sponsored and guarantees that the amount you had in your account at a bank that, for example, went bankrupt, will be fully refunded up to the amount of the deposit insurance.

So if the deposit…


Photo by rupixen.com on Unsplash

1. Digital money makes us decadent

You can buy anything almost anywhere.
Thanks to modern technology, we don’t even need our wallets anymore.

We can pay on the internet with PayPal, in stores with Apple Pay, Google Pay, or simply with our credit card. …

Photo by Katie Rainbow 🏳️‍🌈 from Pexels

Stability is an important concept when it comes to sorting algorithms.

It might help you to avoid unnecessary effort. And it shows very well that there is no sorting algorithm for all cases — it always depends.

But what is a stable and an unstable sorting algorithm? Let’s find out!

What we mean by stability

clio programming language

Clio is a quite young programming language. A programming language that compiles to JavaScript — no matter if for the browser or Node.js. While TypeScript is “just” a superset of JavaScript, Clio is something completely new. And it comes with exciting features.

Clio is a functional programming language. Even if…

Image Credits: Snabbdom on GitHub

Snabbdom is a very minimal yet powerful virtual DOM. Another virtual DOM? Aren’t there enough with React and all the others?

While the approach of libraries like React is to offer a ready-to-work experience, this isn’t what Snabbdom is made for. …

estimating pi in javascript

This might be one of the hardest interview questions I know.

While the solution doesn't require complex code, it requires a very sophisticated approach. And we are going to understand this approach and implement the code.

Back to the beginning. Imagine yourself in a coding interview. …


github indentation wrong
Source: the author

You might know the pain with an indentation on GitHub like in the above picture. In your editor, your code looks great. Then you push it to a GitHub repo, and suddenly, the indentation is messed up.

The same problem applies to Gists on GitHub too — when copying from…


pypy vs. python

Python is slow.

There I said it again. And everybody knows that. Yet, for many programs written in Python, the bad performance isn't that much a problem.

But, what if we want to make our Python faster? Switch to another programming language?

To get a lot more performance, PyPy is…

programming term confusion
Photo by Oladimeji Ajegbile from Pexels

Since the first part of this series was well-received, I started digging again. I looked for all these difficult words I didn't know for a long time — or even the ones I figured out when researching this article.

Here are six more terms in programming I wish I had…

Louis Petrik

Programming, Finance & Psychology. Figuring out life, one idea at a time.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store