Главная
Study mode:
on
1
Intro
2
Who is speaking?
3
Avoid Generic Names
4
Avoid Abbreviations
5
Avoid using datatype as name
6
Nouns & Verbs
7
Use plural for a list
8
Reserve Loop Indexes
9
Example 1
10
Similar names
11
Don't say the obvious
12
Explain why you made that choice
13
Document special cases
14
Make Comments Redundant
15
Divide & Conquer
16
The 7
17
Avoid too many nested levels
18
Handle errors separately
19
Suppress the implementation details
20
Summary
Description:
Explore the art of crafting elegant and maintainable Python code in this 25-minute EuroPython Conference talk by Anand Chitipothu. Discover practical techniques for enhancing code readability, including proper variable naming, minimizing nesting, effective use of whitespace, and strategic commenting. Learn how to apply time-tested principles of beautiful code writing through real-world Python examples. Gain insights into avoiding common pitfalls, handling errors efficiently, and suppressing unnecessary implementation details. Master the skills to create code that is not only functional but also a joy to read, understand, and maintain.

Writing Beautiful Code

EuroPython Conference
Add to list
0:00 / 0:00