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 calculates7 min read·my-py-learn-journey.hashnode.devJun 22
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 acti6 min read·my-py-learn-journey.hashnode.devJun 22
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 compu5 min read·my-py-learn-journey.hashnode.devJun 22
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 value6 min read·my-py-learn-journey.hashnode.devJun 22
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, d7 min read·my-py-learn-journey.hashnode.devJun 22