#SHORTS

Even if you don’t use them all at work

Code snippet from “Sick of Using Javascript for the Web? Use Browser Python Instead”

Like most programmers, I’ve been exposed to a variety of programming languages through my career, my studies, and my personal projects.

However, I’ve mostly stuck to a few, as that’s arguably a pretty good career move — an employer whose backend is written in Go isn’t particularly interested in the fact that you can write “hello world” style programs in 10 other languages (beyond what it might indicate about, for example, your personality).

Ultimately, to solve difficult problems with highly-performant code, one needs to be very familiar with the ins and outs of the language they’re working with.

So that’s…


I built a tool to generate a whole blog from your Medium posts with one command

GitHub page for tool
Photo by the author.

➡️ You can also read this article on GitHub.

TL;DR

  • I built a tool to convert all your Medium posts into a Gatsby blog in five minutes.
  • You can use it like this:

Demo

Copy-Paste Is Never the Answer…

Last weekend, I found myself wanting to start a personal blog in order to post more “stream of consciousness”-style pieces that wouldn’t really fit on my Medium page (I’ll still be writing on Medium, though).

However, as someone who’s been writing for years, I didn’t necessarily want to start fresh. …


A step-by-step tutorial on setting up a modern React app with no boilerplate

Code

➡️ You can access this entire article and all the related code on GitHub.

Motivation

The main objective of this tutorial was to get myself to better understand the multiple moving parts that make a React app work rather than just accepting the “magic” of the many templates/boilerplates out there (e.g. create-react-app and react-boilerplate).

It was very much inspired by Jedai Saboteur’s extremely well-written Creating a React App… From Scratch. The article is so good it is referenced in the official React docs.

However, times change, and I wanted to build a modern React app from scratch in 2021. As such…


PROGRAMMING

And How You Can Implement It On Your React Website

Photo by Andre Benz

I love me some dark mode.

Hence, when I build websites for my projects these days, I make sure to include it.

It’s generally been quite simple, until I had to do it for my company’s website.

Turns out flipping some colors can be quite a task after all. Now try explaining that to your boss…

Don’t believe me? Here’s YouTube loading dark mode:


SOFTWARE

Practical answers to day-to-day problems

I use Git every single day.

So do most software developers.

Honestly, Linus Torvalds’ little side project almost feels like a miracle.

However, the tool is so powerful and extensive that it’s easy to get lost in all the possible commands it has.

Hence, based on my own experience, here’s a compilation of answers to common questions about “how do you do X with Git” that I’ve encountered on a regular basis. Some of us may even use these solutions on a daily basis.

Indeed, many of the commands addressed here will be rather simple, and often well-known by the…


What’s the alternative to the algorithms we love to hate on?

Photo by Christina @ wocintechchat.com

It feels like every day I open Medium there’s a new post about why the hiring process for software developers sucks.

So, as someone who has just been through a hiring process, I thought I should share my thoughts on how it went.

I’m not here to criticize interviews or argue against algorithms. There’s enough of that out there already.

I’m here to talk about a process that I went through and found to be very fair, hoping to shed light on what a solution may look like, instead of adding to the list of articles talking about the problems…


PROGRAMMING TUTORIAL

Pick Your Weapon of Choice and I’ll Show You How to Fight

Photo by M. B. M.

⚠️ Important Note

I am not qualified to offer investment, legal, or any other advice, nor am I trying to do so. This is a programming tutorial aimed at teaching you how to build a trading bot for learning purposes. Any decisions, investments, or risks you take as a result of building a trading bot are your responsibility.

I cannot be held responsible for any decisions you make as a result of reading this tutorial. Remember: Bots can lose a lot of money, so you should be careful.

Quite regularly, we all come across some variation of this article: “10 Projects You Should…


I asked a bunch of programmers about their favorite syntax — here’s what they said

A little while ago I decided to have a little fun and wrote an article titled “My Favorite Pieces of Syntax in 8 Different Programming Languages.”

I published it and then decided to share it on a subreddit — r/ProgrammingLanguages. This led to an interesting discussion about programming language syntax, as users shared their own favorites.

It left me with no choice: I had to write a new article with my favorite pieces of syntax from the r/ProgrammingLanguages community.

A Compilation of Adored Syntax Across Programming Languages

Before we get into it, I should quickly clarify what this article is and what it isn’t.

❌ It isn’t a programming tutorial.

❌ It isn’t going to explain the snippets presented.

❌ It isn’t an objective list.

✅ It is meant for fun.

✅ It is a compilation of opinions from various people.

While it would be…


Meet Nim: the language with Python-like syntax and C efficiency

While quite representative, the image above is for illustrative purposes only, i.e., it isn’t an actual chart of real results. (Image source: Author)

A few weeks ago I was browsing through GitHub and encountered a repo that caught my eye. It hosted a project that was written entirely in Nim.

What the hell is Nim? I thought.

Immediately I concluded this was one of the many programming languages that a lot of people use, but I just was the stupid guy who didn’t know it. But rather than putting it aside, I decided: Let’s learn a bit about this.

I then had two major realizations:

  • No, this language is not used by a lot of people.
  • But maybe it should be.

So here…


PROGRAMMING TUTORIAL

Because Criticizing Is Too Easy…

We love to criticize programming languages.

We also love to quote Bjarne Stroustrup:

“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”

So today I decided to flip things around and talk about pieces of syntax that I appreciate in some of the various programming languages I have used.

This is by no means an objective compilation and is meant to be a fun quick read.

I must also note that I’m far from proficient in most of these languages. Focusing on that many languages would probably be very counter-productive.

Nevertheless, I’ve…

Yakko Majuri

Writing code and writing about writing code. Exploring the underrated topics in Software Development. I speak for myself only.

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