#variables
Variables and Data Types
In the Introduction to JavaScript, we touched on let, const, and the basic data types. This tutorial goes deeper — we’ll explore how JavaScript handles types under the hood, what type coercion actually does, and the practical patterns you’ll use daily like template literals, destructuring, and type checking. var, let, and const in Depth You already know the basics: use const by default, let when you need to reassign. But the differences go beyond reassignment — they affect scoping and hoisting. Read more →
April 3, 2026
Variables and Data Types
In the Introduction to Python, we used variables and saw the basic types like str, int, and float. This tutorial goes deeper — we’ll look at how Python handles types, what mutability means, how to convert between types, and the string and number operations you’ll use constantly. How Variables Work in Python In Python, variables don’t store values directly — they’re names that point to objects in memory. When you write x = 42, Python creates an integer object 42 and makes x point to it. Read more →
April 3, 2026