The coding articles collection contains curated stories, tips, questions and answers on a wide variety of topics. The main focus of these articles revolves around the languages and technologies presented in snippets, as well as career advice and lessons.
Learn how to detect
Here are two quick and elegant ways to check if a string is empty in Python.
You've probably come across the double negation operator (
!!) before, but do you know what it does?
Here's a quick tip on how to compare and sort arrays of strings, ignoring case and accents.
Did you know there are multiple ways to remove an element from an array? Let's take a look.
Randomness and pure functions don't seem to go hand in hand. But where there's a will, there's a way.
Avoid unnecessary re-runs by using primitive dependencies in your React effect.
Create your own static file server with Node.js in just 70 lines of code.
Many beginners get stuck in tutorial hell without even realizing. Here are 4 simple ways to escape tutorial hell and get back to learning.