Duck Typing in Python

If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck. Dynamic Typed languages like Python and JavaScript have an interesting characteristic of letting an object respond to a call…

Walrus Operator in Python

The Walrus operator := is an assignment operator and is available since Python 3.8. It is called "walrus operator" due to its resemblance to the eyes and tusks of a walrus. The walrus operator assigns and returns a value at…

Defeat your Impostor Syndrome as a Developer

Impostor Syndrome is real and if you have never heard of it you can easily google the concept to find an infinite amount of articles about the theme. Here is a simple definition of Impostor Syndrome given by Wikipedia to…

Pip and Virtual Environments with venv in Python

Note: If you don’t know what Pip is and how to use it, read this article first: Pip: Python’s package-management system. To do serious programming in Python you need to use Virtual Environments. When developing new projects, eventually you have…

Pip: Python’s package-management system

When you install Python on your computer, it already comes with many modules and functions to use directly, or import them as needed. One of the great things about a programming language is the community around it. This community develops…

Higher Order Functions in Python

Also known as first-class functions, functions can take other functions as parameters and also return other functions. Since everything in Python is an object, we can treat functions as such. Say you have a list of car brands that is…

Mutability and Immutability in Python

Mutability, in the context of software, is related to the ability of a certain structure to be modified at will. You can add, remove, or simply change/update items. In short, mutable objects allow modification after their creation. Immutability, of course,…

Think like a programmer

A programmer is not someone who types super fast (yes, you have been fooled by movies and TV series). Programming is about problem-solving. Most of the time, a programmer is thinking about the problem and how to solve it. Problem-solving…