Isabelle M.

Isabelle M. @trinityyi

About: I'm Isabelle Maciohsek, a software engineer from Athens, Greece. I love learning new things, especially when they involve programming, data science and visualizations.

Joined:
Dec 4, 2019

Isabelle M.
articles - 27 total

Docker vs. Kubernetes: Which Is Right for Your DevOps Pipeline?

As modern applications grow in complexity, developers and DevOps teams face an important question:...

Learn More 3 0Nov 16 '24

REST vs. GraphQL: Choosing the Right API for Your Project

In the world of APIs, REST and GraphQL are two popular choices, each offering unique advantages....

Learn More 4 0Nov 14 '24

Understanding Git Branching in 5 Minutes

Git branching is an essential part of version control, allowing multiple people (or just you!) to...

Learn More 0 0Nov 2 '24

How to check if a tuple is empty in Python?

Just like lists, tuples are also a sequence of values and are considered falsy if they are empty. So,...

Learn More 7 1Dec 24 '22

Javascript Array.from() second argument

Array.from() is a method that creates a new array from an array-like or iterable object. However, one...

Learn More 5 0Dec 18 '22

Why do SQL Server views need refreshing?

Views in SQL are a great way to simplify complex queries, to hide sensitive data, or to provide a...

Learn More 11 1Dec 4 '22

When to use useRef() instead of useState()

In React, hooks are a way to use state and other React features without having to generate a class...

Learn More 83 10Nov 26 '22

How can I set the value of a select input in React?

Adding selected to an option A very common way of setting a <select> input's value...

Learn More 5 0Nov 20 '22

Tip: React conditional className, empty strings and null

When developing React components, you often need to conditionally apply a className attribute to one...

Learn More 4 0Nov 13 '22

Tip: JavaScript array sorting shorthand

When sorting an array of primitive values (e.g. strings or numbers), you'll often see a lot of code...

Learn More 5 0Nov 6 '22

How can I execute an event handler at most once?

jQuery Back in the day when jQuery was all the rage, we would usually use $.one() to...

Learn More 7 0Oct 30 '22

Javascript sparse array and how to avoid them

Sparse arrays are arrays with elements that are not consecutive and don't always start at index 0. In...

Learn More 4 0Oct 23 '22

Understanding Python's slice assignment

Basic syntax In order to understand Python's slice assignment, you should at least have a...

Learn More 2 0Oct 16 '22

Understanding Python's slice notation

Basic syntax Python's slice notation is used to return a list or a portion of a list. The...

Learn More 1 0Oct 8 '22

Tip: You should use dict.get(key) instead of dict[key]

A common debate among Python developers seems to stem from the retrieval of dictionary values, which...

Learn More 1 0Sep 30 '22

What is the difference between list.sort() and sorted() in Python?

Python provides two ways to sort a list, the built-in list method list.sort() and the built-in...

Learn More 24 0Sep 23 '22

How do I trim whitespace from a string in Python?

When working with Python strings, a pretty common question is how to trim whitespace from a string....

Learn More 3 0Sep 15 '22

What is the ternary operator and how do I use it?

JavaScript's ternary operator (?:), also called the conditional operator, is used to replace a...

Learn More 2 0Sep 9 '22

How do I convert a string to lowercase in Python?

str.lower() Python's standard method for converting a string to lowercase is str.lower()...

Learn More 0 0Aug 28 '22

What are named tuples in Python?

Python's named tuples are a very simple yet interesting feature that can make a developer's life...

Learn More 5 0Aug 13 '22

Tip: 2 ways to format a string in Python

f-string Formatted string literals, commonly known as f-strings, are strings prefixed with...

Learn More 1 0Jul 28 '22

What is the difference between Python's equality operators?

Python provides two very similar equality operators used for comparisons: The double equals (==),...

Learn More 1 0Jul 14 '22

Code Anatomy - Writing high performance Python code

Writing short and efficient Python code is not always easy or straightforward. However, it's often...

Learn More 8 0May 4 '22

3 ways to swap two variables in Python

Using a temporary variable The simplest way to swap the values of two variables is using a...

Learn More 8 0Apr 26 '22

How to correctly close files in Python

When working with files in Python, it's quite common to explicitly invoke the close() method after...

Learn More 12 0Apr 16 '22

Tip: Watch out for mutable default arguments in Python

Default arguments in Python are evaluated only once. The evaluation happens when the function is...

Learn More 6 0Apr 5 '22

Tip: Avoid using bare except in Python

In Python, keyboard interrupts and system exits are propagated using exceptions (i.e....

Learn More 7 0Mar 25 '22