Trey Hunner Readability Counts PyCon 2017

  Рет қаралды 11,240

PyCon 2017

PyCon 2017

Күн бұрын

"Speaker: Trey Hunner
Have you found unreadable PEP8-compliant code and wondered how to fix it? Have you ever seen code that was simply a pleasure to read?
If you've ever wondered what makes code easy to read, this talk is for you.
During this talk we'll learn a number of techniques for refactoring code to improve readability and maintainability.
We'll discuss:
- whitespace
- self-documenting code
- modularity
- expectation management
We'll end with a checklist for improving the readability of your own code.
Slides can be found at: speakerdeck.com/pycon2017 and github.com/PyCon/2017-slides"

Пікірлер: 20
@cthoyt
@cthoyt 7 жыл бұрын
More talks on coding style are always appreciated. Thanks for the great examples.
@erinallard8179
@erinallard8179 7 жыл бұрын
I've been coding in Python for about a year and this has been a great learning tool. I feel like I have a much better understanding of what it means to write "good, clean code." Thanks!
@walkingintopeople
@walkingintopeople 7 жыл бұрын
Starts at 0:52
@musicalwanderings7380
@musicalwanderings7380 23 күн бұрын
Classic no-nonsense Trey!!
@stalinthomas9850
@stalinthomas9850 3 жыл бұрын
00:00 Introduction 03:21 Structuring Code 05:01Regular Expressions 06:36 Function calls 08:42 PEP 8 09:59 Naming things 16:02 So many functions 18:23 Recap 18:53 Programming idioms 19:26 Clean up 21:04 Lists from lists 22:21 Operator overloading 24:10 Abstract base class 24:24 Shared Data 25:02 Recap 2
@adriaanbeiertz5933
@adriaanbeiertz5933 5 жыл бұрын
This is a great lecture on clean Python code. Thanks Trey!
@kylewood303
@kylewood303 7 жыл бұрын
learned a lot, thanks for sharing
@tinabu352
@tinabu352 4 жыл бұрын
Learned so much from this talk!
@bobikozov
@bobikozov 7 жыл бұрын
thx for that talk dude!
@JasonRigden
@JasonRigden 7 жыл бұрын
Readability is so important. Unreadable code is fragile. Fragile code is a huge source of technical debit. If no one can read & grok the code, then how can they debug it?
@tomeubank3625
@tomeubank3625 6 жыл бұрын
This presentation is very useful, informative and well-presented. It would be even better if the slides were on github (personally preferred) or SpeakerDeck as indicated.
@TreyHunner
@TreyHunner 6 жыл бұрын
The slides are on GitHub here: github.com/treyhunner/readability-counts
@MagnusAnand
@MagnusAnand 4 жыл бұрын
Great tips!
@randomguy75
@randomguy75 7 жыл бұрын
great talk
@reneebee2388
@reneebee2388 7 жыл бұрын
Trey, You are the best (y)
@drew4980
@drew4980 7 жыл бұрын
I feel like the code at 15:15 is a little too dense. Theres also some un needed parenthesis around the 3rd and 4th lines.
@tianma201211
@tianma201211 7 жыл бұрын
Readability is so important
@TreyHunner
@TreyHunner 7 жыл бұрын
Slides here: treyhunner.com/readability-counts
@MarioWenzel
@MarioWenzel 7 жыл бұрын
I feel that most of the presented code would have been much clearer using pythonic expressions or functional programming that what the speaker proposes. That would have been much better in the first place. In some cases the speaker even makes it worse.
@rautamiekka
@rautamiekka 5 жыл бұрын
I despise PEP8 in some parts. Python devs created, partially, a very bizarre set of rules.
Sam Agnew   Hacking Classic Nintendo Games with Python   PyCon 2017
28:33
Eric Evenchick   Hacking Cars with Python   PyCon 2017
29:48
PyCon 2017
Рет қаралды 15 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 13 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 46 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 18 МЛН
Eric J  Ma   Bayesian Statistical Analysis with Python   PyCon 2017
30:41
Benny Bauer   Python in The Serverless Era   PyCon 2017
30:47
PyCon 2017
Рет қаралды 9 М.
Amjith Ramanujam   Awesome Command Line Tools   PyCon 2017
28:42
PyCon 2017
Рет қаралды 29 М.
Just In Time (JIT) Compilers - Computerphile
10:41
Computerphile
Рет қаралды 266 М.
Jukka Lehtosalo, David Fisher   Static Types for Python   PyCon 2017
49:31
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 13 МЛН