The Logic of Python, Explained Like You've Never Coded BeforeWhen you first start coding, your programs are like a train on a single, straight track. You give the computer a list of instructions, and it mindlessly executes them from top to bottom. It calculatesJun 22 · 7 min readmy-py-learn-journey.hashnode.dev
The Python Object Model, Explained Like You've Never Coded BeforeWhen you first start coding, you treat Python like a calculator. You type x = 5, then y = x + 2, and you get 7. It feels like you are just pushing raw numbers around. But eventually, things start actiJun 22 · 6 min readmy-py-learn-journey.hashnode.dev
Copying Objects, Explained Like You've Never Coded BeforeEvery time a beginner tries to make a "backup" of a list in Python, a predictable disaster happens. They modify the backup, and to their horror, the original list changes too. They feel like the compuJun 22 · 5 min readmy-py-learn-journey.hashnode.dev
Truthiness and None, Explained Like You've Never Coded BeforeEvery condition in Python eventually boils down to a simple question: "Is this true, or is this false?" But in the real world of code, you aren't always dealing with strict True or False boolean valueJun 22 · 6 min readmy-py-learn-journey.hashnode.dev
Mutability & Identity in PythonBefore learning advanced Python, you must understand one question: When you change a value, are you changing the object itself, or creating a new object? Most beginner bugs around lists, functions, dJun 22 · 7 min readmy-py-learn-journey.hashnode.dev