/articles

thoughts on programming

Primary LanguagePython

Dobiasd's articles

This repository serves as a programming-related brain dump.

If you enjoy my articles, feel free to buymeacoffee. ;-)

C++

From goto to std::transform

Functional programming in C++ with the FunctionalPlus library; today: HackerRank challange "Gemstones"

Creating a replacement for the switch statement in C++ that also works for strings

Elm

Switching from imperative to functional programming with games in Elm

Fun

Learning Curves (for different programming languages)

Programming language subreddits and their choice of words

Haskell

From Object Oriented Programming to Functional Programming - Inheritance and the Expression Problem

Kotlin

What Kotlin could learn from C++'s keyword const

When does a when expression in Kotlin need to be exhaustive, and when does it not

From Spaghetti to Ravioli - a Refactoring Example (using Kotlin)

Using fold to mimic mutation

Statistics

Basic measures of descriptive statistics

Mechanical analogies for basic measures of descriptive statistics

Do A/B tests - because correlation does not imply causation

Misc

How touch typing and keyboard shortcuts can improve the quality of the software you create

A too naive approach to video compression using artificial neural networks

A personal, generic, things-I-learned-as-a-software-developer list

Implementation inheritance is bad - the fragile base class problem

Refactoring suggestions are a compliment

Threads can infect each other with their low priority

Why a generic implementation can be the easier-to-understand solution

Covariance and contravariance explained without code

How I got rid of the crosstalk in my headset

Avoid methods to reduce coupling

"A monad is just a monoid in the category of endofunctors." - explained