Category
best practices
2 articles across 2 sub-topics
Intermediate(1)
Pythonic Code: Idioms Every Developer Should Know
TLDR: 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 walrus operator, and truthiness checks ā not because the...
ā¢25 min read
Clean Code(1)
Understanding KISS, YAGNI, and DRY: Key Software Development Principles
TLDR TLDR: KISS (Keep It Simple), YAGNI (You Aren't Gonna Need It), and DRY (Don't Repeat Yourself) are the three most universally applicable software engineering mantras. They share a common enemy: unnecessary complexity. š The Complexity Tax Ev...
ā¢15 min read
