Type Hints - Guido van Rossum - PyCon 2015

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

PyCon 2015

PyCon 2015

Күн бұрын

Пікірлер: 27
@jk3089
@jk3089 4 жыл бұрын
OMG! I have never been expecting I'll watch Guido Van Rossam
@WasiMaster
@WasiMaster 3 жыл бұрын
At 28:04. The better world example now works as of python 3.9 :)
@MaikSpike
@MaikSpike 8 жыл бұрын
Guido is the best thing ever to happen to Python
@Krasbin
@Krasbin 8 жыл бұрын
+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 3 жыл бұрын
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.
@TheDragonAzz
@TheDragonAzz 3 жыл бұрын
"...High technical topic, I'm afraid people might not understand it.." It's Guido!! I'm freaking watching it, understand everything or not.
@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 7 жыл бұрын
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 7 жыл бұрын
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.
@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.
@Twisted_Code
@Twisted_Code 3 жыл бұрын
12:15 "legacy code you don't want to change" yeah... as the saying goes, if it isn't broke, don't *_touch_* it!
@garlic-os
@garlic-os 3 жыл бұрын
Can I get a picture of you with that mango thing?
@nikolayyotsov1240
@nikolayyotsov1240 4 жыл бұрын
what happen to "Explicit is better than implicit. " ?
@robbert-janmerk6783
@robbert-janmerk6783 4 жыл бұрын
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 2 жыл бұрын
@@sadhlife WORD!
@astroboy512
@astroboy512 Жыл бұрын
@@robbert-janmerk6783 "preferably only one", note the "preferebly"
@ashrasmun1
@ashrasmun1 4 жыл бұрын
imo everyone who disregards the power of types is just irresponsible
@calebparks8318
@calebparks8318 Жыл бұрын
No offense, but C++ saw this coming from before.
@tomaszmakuch
@tomaszmakuch 2 жыл бұрын
Guy who edited the video had one job: NOT to cover the slides with little Guido...
Keynote - Guido van Rossum - PyCon 2015
30:18
PyCon 2015
Рет қаралды 38 М.
Guido van Rossum: BDFL Python 3 retrospective
26:50
PyCascades
Рет қаралды 16 М.
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 6 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 26 МЛН
Carl Meyer - Type-checked Python in the real world - PyCon 2018
32:10
Brandon Rhodes - Oh, Come On Who Needs Bytearrays - PyCon 2015
44:24
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Understanding the Python GIL
46:10
David Beazley
Рет қаралды 112 М.
The Story of Python, by Its Creator, Guido van Rossum
4:02
Oracle Developers
Рет қаралды 271 М.
Guido van Rossum - Python Language - PyCon 2016
42:14
PyCon 2016
Рет қаралды 138 М.
Greg Ward - How to Write Reusable Code - PyCon 2015
29:52
PyCon 2015
Рет қаралды 45 М.
The mind behind Linux | Linus Torvalds | TED
21:31
TED
Рет қаралды 6 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН