I tried to live as a freelancer. This is why I failed at it.

Image for post
Image for post
Photo: nikko macaspac/Unsplash

The dream of being your own boss is one that almost everyone goes through at some point during their career. For some strange reason, we tend to believe we can do away with concepts such as “boss,” “9 to 5,” or “team meetings” and just sit down, put our head down, and work on what we love. Like that would solve all our problems.

In some cases, this notion becomes more than just a dream; some people actually succeed at freelance. More often than not, it either remains a dream or quickly becomes a nightmare. …

Is there really one better than the other?

Image for post
Image for post
Image by Christo Anestev from Pixabay

Extending behavior is something we, as developers, have been doing for a long time, in a lot of different languages and programming paradigms. However, a secret war has been waging right in front of our eyes, and only a very select group has actually noticed it:

Should you do it through inheritance or is it better to extend and add new behavior through composition?

These are two very old techniques that, at first glance, give us the same result, however, there are differences to the trained eye, and I’m here to shed some light on them.

With that intro out of the way, let us begin our journey with some basic definitions so we’re all starting at the same place. …

We all know about Object-Oriented Programming and Functional Programming, but have you heard about Aspect-Oriented Programming before?

Image for post
Image for post
Image by Arturs Budkevics from Pixabay

We all know about Object-Oriented Programming, and we’ve probably, at least, heard of Functional Programming in the JavaScript world, but have you ever heard of Aspect-Oriented Programming?

I know, it sounds like something you would hear in an episode of Power Rangers Mystic Force. However, AOP is a thing, and not only that, it’s a thing we’re not using and could use for several common use cases we see every day.

And the best part of it all is that just like with OOP and FP in JavaScript, you can use a mixture of AOP with FP or OOP without breaking a sweat. …

Freelancing can be a fantastic job opportunity, if you understand what it takes to succeed.

Image for post
Image for post
Photo: Andrea Piacquadio/Pexels

Freelancing is one of those professions that falls prey to everyone’s opinions, from both people who know what they’re talking about and those that don’t.

Personally, after doing a lot of research on the subject and trying (and failing) to live as a freelancer in the past, I think I have an informed point of view. So with that being said, I wanted to share and debunk 6 of the most common myths about freelancing that people tend to believe immediately.

Freelancing is just a side hustle that you can’t make real money with

I believe this one probably originated from people who don’t even bother to research the subject they’re talking about. Because let’s be honest, if you’re looking to freelance in a particular field, a quick search will yield hundreds (if not thousands) of articles discussing how their authors make all the money in the world freelancing. …

There is a big chance you’re doing one of these mistakes and haven’t even noticed

Image for post
Image for post
Photo by NeONBRAND on Unsplash

All developers hate unit tests, right? That’s like one of those untold rules, if you’re working as a developer, your focus should be on your working code, let others who know less than you write the filthy tests.

I’ve seen a lot of developers with that mindset in my (almost) 20 years of experience. Heck, I know I was one of them at one point. But the truth is I learned from my mistakes, I eventually understood the role unit tests play within the context of a software project and I just want you to also reach that point.

I want to you enjoy writing tests, because yes, such a thing is possible. And to show you how little attention you’re paying to the task of unit testing, here are 5 mistakes you’re most likely making without even realizing it. …

NPM version 7 released two new features that really made a difference for me: workspaces and better peer dependency management.

Image for post
Image for post

It’s been a while since we’ve gotten a substantial update to our trusted NPM. But now, with Node’s latest release (version 15), we also got version 7 of NPM, which comes with a major overhaul of its internal architecture, as well as some very interesting new features.

In this article, I’m going to cover the two that caught my attention and sparked my imagination. With one of them, we’re going to change the way we handle dependencies for all projects and with the other one, we’re going to optimize a process that right now has to be done manually.

I’m of course talking about workspaces and the ability to auto-install peer dependencies. Are you excited yet? I know I am! …

Here are 8 tips for you to turn the boring task of writing unit tests into an actual challenging programming problem.

Image for post
Image for post

Everybody and their brother should be writing unit tests if they’re writing production-ready code. This should be mandatory for all levels, not only Jr developers starting out on the project (which is something we sometimes tend to do).

And here is why: unit tests are a great way of ensuring your code is not only working at any given point in time, but most importantly, they ensure you it works after a change. That is massive! If you’ve never had to make a big change in a huge code base that you didn’t write, then you haven’t lived.

The sad truth is we tend to consider writing tests as a boring task and we try to minimize our time with them. When in reality, it should be as important (if not more) than writing your regular code. …

Stop thinking about what technologies to use and start listening to what your users need first

Image for post
Image for post
Photo by Kumpan Electric on Unsplash

When it comes to software design, there is a very simple question I like to ask that not everyone considers: where do you start?

This question is crucial to the rest of the design, but a lot of people tend to answer it before even asking the question. However, I like to think there are two potential answers:

  • Bottom-up design: or in other words, you start at the data, look at it, and based on what you have, decide what you can build with it.
  • Top-down design: or also known as listening to the user, then finding out what they want. With the information they give you, you decide what you’re going to do and the data you’ll need. …

We’re constantly dealing with acronyms as software developers, but do we actually know what they all mean?

Image for post
Image for post

I’ve been working in the Software Development industry for over 17 years and I’ve seen my share of acronyms fly by, some of them making more sense than others, some of them forming funnier words than others. But let’s face it, as developers, we like our acronyms, we have some regular ones such as MVP and PoC that really sound like whoever created them made no real effort. And then we have others such as SOLID, DRY and KISS that well, lend themselves to some funny interactions.

However, there are so many around that I thought I’d do a round down of the most common (and some less common) ones out there, in case you need a refresher on their meaning. …

We all have to go through of them, whether we like them or not.

Image for post
Image for post
Photo by Matt Walsh on Unsplash

When a kid is born, the usual thing to do is to congratulate the new parent, tell them how their life is going to be wonderful now and filled with love.

I don’t do that. Well, I do congratulate them, but I also tell them that I know it’s going to be hard, but they can get through it. This is not me trying to be funny or sarcastic, but rather realistic, I’ve been through the process of being a parent twice, so I know what it really means.

The phrase “having a kid will change your life” is definitely an understatement, your life doesn’t change, it ends. But only because a new life needs to be born, one that includes this new little person. You see, that new child you just met isn’t just going to live with you, that baby is going to be a part of you. …


Fernando Doglio

Technical Manager @Globant. I write about technology, lifestyle, personal business and more. Also at http://www.fdoglio.com and http://mywritingcorner.net

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