Home/Learn/General Programming
Topic

General Programming

Learn General Programming as a connected topic across chapters, concepts, simulations, and interview reasoning.

10 Concepts10 Articles4h 5m

Overview

Learn General Programming as a connected topic across chapters, concepts, simulations, and interview reasoning.

How this topic helps

Python
Intermediate
Beginner
Functions

Learning Path in this Topic

Series that contain articles from General Programming. Select a path to filter the article list.

Articles

10 matched articles

Article 1Functions in Python: Parameters, Return Values, and ScopeTLDR: Python functions are first-class objects, not just reusable blocks. They support keyword arguments, safe defaults with None, variadic *args/**kwargs, closures, and LEGB scope resolution. These f22 minArticle 2Python Data Structures: Lists, Dicts, Sets, and TuplesTLDR: Python's four built-in collections are not interchangeable — their internals are fundamentally different. list is a dynamic array: fast at the end, slow for membership. dict is a hash table: O(126 minArticle 3Python Basics: Variables, Types, and Control FlowTLDR: Python variables are labels that point at objects — not typed boxes. The type lives with the object, not the variable. Master truthiness, f-strings, for/while loops, and the handful of pitfalls 22 minArticle 4Pythonic Code: Idioms Every Developer Should KnowTLDR: Writing for i in range(len(arr)): works, but Python veterans will flag it in your first code review. Idiomatic Python uses enumerate, zip, comprehensions, context managers, unpacking, the walrus27 minArticle 5Python OOP: Classes, Dataclasses, and Dunder Methods📖 Why Every Java Developer Writes Un-Pythonic Classes on Day One Imagine a developer — let's call him Daniel — who has written Java for six years. He sits down to write his first Python class and pro22 minArticle 6List Comprehensions, Generators, and Lazy Evaluation in Python📖 The MemoryError That Launched a Thousand Generators Meet Priya. She is a data engineer at a logistics company, tasked with crunching a 10 GB CSV of shipping events. She opens her laptop, writes wha24 min

Page 1 of 2