Typeclasses for Beginners

P.S This post is for beginners, experienced developers can skip this 🙂

In this post, I will try my best to avoid using conventions so as not to confuse the beginner, I just want to solely pass the message across without confusing the reader with general conventions.

As a Scala developer, I had always heard about Typeclasses, and it seemed really hard to understand, but I’ll try to simplify it so much so other beginners can easily understand this great feature in Scala.

Before I define what TypeClasses are, let’s start with a small problem and hope that by trying to solve the problem will help you understand the concept better.

Continue reading “Typeclasses for Beginners”

SBT for the absolute beginner 2 (Settings and Tasks)

P.S. If you are a newbie, I highly encourage you to read part 1 of this post.

You may be like me and may have wondered at some point how on earth you could run your Scala or Java programs from SBT with arguments, when all I did when running my program was pass the run command to SBT. So how do I pass JVM parameters or compiler parameters? Well, all of that can be done in your build.sbt config file as shown below

Continue reading “SBT for the absolute beginner 2 (Settings and Tasks)”