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!
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
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.
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?
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.
More talks on coding style are always appreciated. Thanks for the great examples.
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!
This is a great lecture on clean Python code. Thanks Trey!
Starts at 0:52
Learned so much from this talk!
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
Classic no-nonsense Trey!!
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.
The slides are on GitHub here: github.com/treyhunner/readability-counts
Slides here: treyhunner.com/readability-counts
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?
learned a lot, thanks for sharing
thx for that talk dude!
Great tips!
Trey, You are the best (y)
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.
Readability is so important
great talk
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.
I despise PEP8 in some parts. Python devs created, partially, a very bizarre set of rules.