Extending instances on creation for debugging
A neat trick you can do in Scala is extending an object (instance of an existing class) on the fly when you instantiate it. This comes in very handy when…
A neat trick you can do in Scala is extending an object (instance of an existing class) on the fly when you instantiate it. This comes in very handy when…
I was doing Advent of Code and was working on generating numbers based on a pattern (day 15). (more…)
A primitive data type can be defined as the most basic building block of a programming language. Typical primitive data types are integers, floats and booleans. Whether you differentiate between…
When working with sets of data, we usually work with strict (eager) collections. Sometimes we wish to work with lazy collections such as when we're dealing with infinite streams. If…
I created a small hobby project, an online comic book reader, using the fairly new programming language Elixir and a framework called Phoenix which I knew nothing about. These are…
Suppose we have two extremes when it comes to code editors. In one corner are the old school trusted veterans like Emacs and Vim, and in one corner are the…