All you need to get started

Image for post
Image for post
It’s time to learn Golang. [Image source]

This post intends to be an introduction to the Go programming language, also known as Golang.

Disclaimer

I’m not an expert in Go. In fact, I’ve started learning about Go very recently. Therefore, take everything in this post with a pinch of salt.

Then… why am I writing a post about Go? It’s simple: I want to use this post as a tool to reinforce my learning process. I believe that working on a blog post and publishing it will force me to get every detail straight. …


It’s not just about coding

Image for post
Image for post
Chema: my debugging companion

Rubber duck debugging

Have you ever wondered why there’s a rubber duck on your colleague’s desk? If there’s no tub in your office, it may be because he’s rubber duck debugging.

It has happened to all of us: you are stuck on a piece of code that you cannot get to work. You examine every line of code and still have no idea why it does not work. You go and get a coffee from the machine, hoping to get that moment of brilliance after returning to your desk. Ugh, it seems that’s not the case… at least not today. In a moment of despair, you raise your head and look for an idle colleague. …


Try it yourself in this post!

Image for post
Image for post
Fractal art — source

First of all, what is a geometric fractal? A geometric fractal is a geometric shape with a repeating structure at different scales: it doesn’t matter whether you get closer to the image or not, you’ll always see the same pattern. Or, as defined by Benoit Mandelbrot, “a rough or fragmented geometric shape that can be split into parts, each of which is (at least approximately) a reduced-size copy of the whole”.

Now, how can we build a fractal in Python? Given that we are repeating a structure at different scales, we’ll need to apply a recursive solution. …

About

Dhanesh Budhrani

Multidisciplinary software engineer. Constantly learning. Software Engineer@Wubook. MSc@DTU. BSc@UC3M. LinkedIn: https://www.linkedin.com/in/dhanesh-budhrani/

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