A Python Æsthetic: Beauty and Why I Python

  Рет қаралды 22,922

Next Day Video

Next Day Video

Күн бұрын

Brandon Rhodes
Why did I start using Python in the late 1990s? Was it for any of the reasons that I remain a fan today? In this talk we will explore how Python, even while training us to avoid and become blind to its rough edges, works to teach us ne

Пікірлер: 14
@SPrintF1
@SPrintF1 9 жыл бұрын
It's not obsessive. It's practical. No, more: it's polite. When you write code, you have to keep in mind those who will follow you. Just yesterday, I went back and corrected something I wrote more than a decade ago. Older Me chuckled over the assumptions of Younger Me and gently fixed the issue. Write for readability was something I learned early, because the programmer that has to come back and fix a problem might be YOU! I've had to wade through a lot of poorly-written code that obviously was just spat out to fix something on someone's to-do list and programmers like that should just go back to flipping burgers or something. A program is a narrative. “I am collecting these data and transforming it like so!” If your code obscures your narrative, then you are a poor author. It kills me that so many so-called programmers don’t get this. It’s community! Maybe no one will ever look at that function you wrote years ago. It’s perfect; never change it! But, 99 times out of 100, some poor slob (maybe YOU) will have to go back and puzzle out what you were up to. Writing code thoughtfully with respect to those will have to come after you is worth the effort.
@MrBeiragua
@MrBeiragua 8 жыл бұрын
+Karl Merris When I look at my old codes, I take sometime to realize the meaning o things. The reason, I wrote them in a very ugly way.
@letmecodefront-end6753
@letmecodefront-end6753 8 жыл бұрын
+Karl Merris I agree. Very well put.
@audreyr
@audreyr 11 жыл бұрын
Is this talk obsessive? Yes. Is that a good thing? Yes! Thank you, Brandon, for sharing a bit of your visual thought process from your coding.
@tukkek
@tukkek 11 жыл бұрын
Funny how he is obsessive with beauty yet has so many dense slides. My style is very different, for one I only do variables or functions to factor (eliminate duplicate) code. But I agree Python is the most beautiful mature language today - his talk is very good god yet barely scratches at the whole. No control brackets, for starters?! Oh and for anyone who is doubtful of the speakers awesomeness: 46:22 he repeats the question for us. If you don't know how great this is, you're weaker than him.
@MustafaTulu
@MustafaTulu 11 жыл бұрын
Very informative. Especially the comments on "XP Guys" were good. Of course it is obsessive, and that's what we expect from our coders and code. Code is not poetry. There might be times when good code looks like good poetry. But it is unacceptable to have code looking like bad poetry. (We do not even have the definition of bad poetry) All conventions are derived from this basic principle: Code is written to be understood, and modified.
@ArneBab
@ArneBab 10 жыл бұрын
import piano piano.bench() ^ I love this! And I wish GNU Guile had it!
@Tritium21
@Tritium21 8 жыл бұрын
YOU CHANGED PEP8! Check python-ideas for april 15th, 2016.
@TsungWeiHu
@TsungWeiHu 10 жыл бұрын
Brandon Rhodes shows you how to Think Like a Pythonista. Here is his slides rhodesmill.org/brandon/slides/2012-11-pyconca/
@todddoughty1571
@todddoughty1571 8 жыл бұрын
Did anything ever come out of the suggestion for codifying beyond pep8 best practices?
@ArneBab
@ArneBab 10 жыл бұрын
for foo.bar: that’s why we have readline. There the example of keeping typing works beautifully.
@ChrisAhlstrom
@ChrisAhlstrom 10 жыл бұрын
Debian (Sid) has *awesome* readline support; mount, ssh, even the lowly mpc command, will auto-complete.
@RedBooster
@RedBooster 11 жыл бұрын
a bit obsessive and unnecessary. some useful information but at times just plain silly.
Brandon Rhodes - Oh, Come On Who Needs Bytearrays - PyCon 2015
44:24
When Python Practices Go Wrong - Brandon Rhodes - code::dive 2019
1:00:51
code::dive conference
Рет қаралды 95 М.
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 3,4 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 30 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 33 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 7 МЛН
Why Good Developers Write Bad Tests
30:09
Next Day Video
Рет қаралды 3,6 М.
Classic Design Patterns: Where Are They Now - Brandon Rhodes - code::dive 2022
51:31
When Booleans Are Not Enough... State Machines?
21:50
Next Day Video
Рет қаралды 24 М.
Loop like a native: while, for, iterators, generators
29:15
Next Day Video
Рет қаралды 117 М.
The Naming of Ducks: Where Dynamic Types Meet Smart Conventions
30:17
Next Day Video
Рет қаралды 10 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Paul Everitt, Guido van Rossum   Panel Discussion   PyCon 2017
47:34
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 598 М.
Greg Ward - How to Write Reusable Code - PyCon 2015
29:52
PyCon 2015
Рет қаралды 45 М.
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 3,4 МЛН