Type Hints - Guido van Rossum - PyCon 2015

  Рет қаралды 47,818

PyCon 2015

PyCon 2015

Күн бұрын

Пікірлер: 27
@jk3089
@jk3089 4 жыл бұрын
OMG! I have never been expecting I'll watch Guido Van Rossam
@WasiMaster
@WasiMaster 4 жыл бұрын
At 28:04. The better world example now works as of python 3.9 :)
@MaikSpike
@MaikSpike 9 жыл бұрын
Guido is the best thing ever to happen to Python
@Krasbin
@Krasbin 9 жыл бұрын
+Miguel ‘Maikflow’ Pena And without Guido there would be no Python. He sorta kinda started it all.
@filiphron3147
@filiphron3147 8 жыл бұрын
+Miguel „Maikflow“ Pena Python is the best think that happened to Guido.
@msshroff
@msshroff 6 жыл бұрын
actually pyhon is the best thing ever to happen to guido :)
@sadhlife
@sadhlife 3 жыл бұрын
here's the right quote: Guido is Python
@Twisted_Code
@Twisted_Code 4 жыл бұрын
thank you for this awesome feature I didn't realize existed until about two weeks ago. I've already preemptively caught at least one bug thanks to my IDE using a type hint I included. I imagine it won't be the last.
@megalowhale8175
@megalowhale8175 9 жыл бұрын
"Some bugs get found sooner if you have type annotations." Understatement of the century. It completely eliminates an entire class of errors. Personally, when languages come out that DON'T feature type-checking, I really feel like this is regressive and taking a step in the wrong direction.
@Konstruktivismus
@Konstruktivismus 8 жыл бұрын
I am not so sure about that. If you write tests for all parts of your code (coverage=100%), then you also have some sort of type checking of the whole code. And actually this testing removes many other types of errors as well, and therefore is just necessary to write stable and good code.
@megalowhale8175
@megalowhale8175 8 жыл бұрын
Konstruktivismus​ unit testing alone is NOT enough. There are many possible type errors which remain possible even with 100% coverage. This becomes more apparent the less trivial the code base is. Look up the article by Evan Farrer on unit testing + static typing, as he provides a number of examples of this.
@garlic-os
@garlic-os 4 жыл бұрын
Can I get a picture of you with that mango thing?
@Twisted_Code
@Twisted_Code 4 жыл бұрын
12:15 "legacy code you don't want to change" yeah... as the saying goes, if it isn't broke, don't *_touch_* it!
@nikolayyotsov1240
@nikolayyotsov1240 5 жыл бұрын
what happen to "Explicit is better than implicit. " ?
@robbert-janmerk6783
@robbert-janmerk6783 5 жыл бұрын
I would rather ask: what happened to "There should be one-- and preferably only one --obvious way to do it."
@sadhlife
@sadhlife 3 жыл бұрын
this is explicit :0
@sadhlife
@sadhlife 3 жыл бұрын
@@robbert-janmerk6783 I'll be honest. writing typed code is the only obvious way to write most Python code now
@legion_prex3650
@legion_prex3650 3 жыл бұрын
@@sadhlife WORD!
@astroboy512
@astroboy512 Жыл бұрын
@@robbert-janmerk6783 "preferably only one", note the "preferebly"
@nikosc
@nikosc 9 жыл бұрын
is there intention from any popular open source python libraries (e.g. django, pyramid, sqlalchemy..) to use type hints in their codebase?
@ovangle
@ovangle 9 жыл бұрын
Nikos C. The simple answer would be no, not in the short term, because they're all stuck using six libraries to support users on py2.
@AistisJokubauskas
@AistisJokubauskas 8 жыл бұрын
+Thomas Stephenson well I don't quiet understand your statement. If I understood correctly type information goes into pyi file, which is not interpreted by python 2. Would it be correct?
@VaibhavMishraVM
@VaibhavMishraVM 8 жыл бұрын
+Kiki Klank yes according to the slides.
@tomaszmakuch
@tomaszmakuch 2 жыл бұрын
Guy who edited the video had one job: NOT to cover the slides with little Guido...
@calebparks8318
@calebparks8318 Жыл бұрын
No offense, but C++ saw this coming from before.
@ashrasmun1
@ashrasmun1 4 жыл бұрын
imo everyone who disregards the power of types is just irresponsible
Keynote - Guido van Rossum - PyCon 2015
30:18
PyCon 2015
Рет қаралды 38 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Carl Meyer - Type-checked Python in the real world - PyCon 2018
32:10
Thinking about Concurrency, Raymond Hettinger, Python core developer
52:01
Видео с мероприятий {speach!
Рет қаралды 84 М.
Raymond Hettinger - Super considered super! - PyCon 2015
46:52
PyCon 2015
Рет қаралды 124 М.
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 332 М.
Understanding the Python GIL
46:10
David Beazley
Рет қаралды 116 М.
Greg Ward - How to Write Reusable Code - PyCon 2015
29:52
PyCon 2015
Рет қаралды 45 М.
Stop Writing Classes
27:29
Next Day Video
Рет қаралды 941 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН