Jukka Lehtosalo, David Fisher Static Types for Python PyCon 2017

  Рет қаралды 12,038

PyCon 2017

PyCon 2017

Күн бұрын

Пікірлер: 17
@ruthlessadmin
@ruthlessadmin 7 жыл бұрын
Huh. I did not know you could annotate types like that. Very cool!
@TheJaniable
@TheJaniable 4 жыл бұрын
I wish I knew about this before writing 5 entire projects in Python.
@RicardoSuarezdelValle
@RicardoSuarezdelValle 9 ай бұрын
lol
@harshilrastogi
@harshilrastogi 6 жыл бұрын
I can't find the slides at the above-mentioned sources. Can anyone please point me the link?
@IamEchelon
@IamEchelon 6 жыл бұрын
Python needs a better way to go about doing this because currently this clutters the code up significantly. I would suggest something more Haskell-esque.
@jonbarker6979
@jonbarker6979 7 жыл бұрын
print(type(entries)) is how I do it. Why is this better?
@adamcunnington2593
@adamcunnington2593 7 жыл бұрын
The introduction is completely flawed. It's completely clear what the code does - or if it isn't, that has nothing to do with static vs. dynamic types. The whole point is, you shouldn't care what the type is. It's irrelevant; the attributes and methods define the behaviour. Talk about completely missing the point.
@desprit
@desprit 6 жыл бұрын
No it is NOT clear. And yes, you SHOULD care about typing.
@RicardoSuarezdelValle
@RicardoSuarezdelValle 9 ай бұрын
Saying this just demonstrates you have never worked with a big enough codebase, just the amount of times I've had to write print type(someUnclearCrap) is worth the strict types
@RubenKelevra
@RubenKelevra 7 жыл бұрын
Well, the introduction is bullshit, your ide can show you the definition of everything, if you use pycharm or similar, just a right click away. They just mess up python...
Eric Evenchick   Hacking Cars with Python   PyCon 2017
29:48
PyCon 2017
Рет қаралды 15 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Carl Meyer - Type-checked Python in the real world - PyCon 2018
32:10
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 19 М.
Transforming Code into Beautiful, Idiomatic Python
48:51
Next Day Video
Рет қаралды 1 МЛН
Are you using a Hacked AI system?
27:06
David Bombal
Рет қаралды 85 М.
Emily Morehouse-Valcarcel - The AST and Me - PyCon 2018
23:39
PyCon 2018
Рет қаралды 10 М.
Alex Orlov   Cython as a Game Changer for Efficiency   PyCon 2017
27:29