Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018

  Рет қаралды 35,833

PyCon 2018

PyCon 2018

Күн бұрын

Пікірлер: 25
@bernoulli9047
@bernoulli9047 2 жыл бұрын
There were a few gems here that I want to commit to memory. Will be rewatching this one.
@Sousleek
@Sousleek 6 жыл бұрын
I've benn interested by contract programming paradim a year ago. Now i'm interested again :)
@RandomAlexus
@RandomAlexus 3 жыл бұрын
I got to the part where he brought granola bars and just had to like the video on principle.
@CppExpedition
@CppExpedition 3 жыл бұрын
This is brutally impressive, thank you so much!
@mishasawangwan6652
@mishasawangwan6652 4 жыл бұрын
6:42 lol ..’huge negative numbers’ ...g1. made me chuckle a lil’.
@StankyPickle1
@StankyPickle1 6 жыл бұрын
This is cool!
@acobster
@acobster 4 жыл бұрын
Why "especially" Python? I'd be interested to hear more about that.
@l_combo
@l_combo 4 жыл бұрын
The talk was at PyCon (Python Conference), there isn't anything specific that makes this constrained to Python.
@sadhlife
@sadhlife 3 жыл бұрын
it's because how easily hackable and dynamic python is, you can even do things like modify the AST of a function at runtime, or pull the stack frame out and inspect it at runtime, which makes it possible to write some wacky contracts that's basically impossible in many other languages
@magno5157
@magno5157 5 жыл бұрын
Didn't realize programming by contracts was still unknown to a large number of programmers. I thought they were already pretty standard.
@cypix314123
@cypix314123 5 жыл бұрын
Well now that C++20 will get them as language feature, few more will now.
@magno5157
@magno5157 5 жыл бұрын
cypix314123 That’s interesting and puzzling. How are they going to implement it? Seems to me there will be lots of extra new syntax, which would make contracts much, much less readable than just regular comments.
@cypix314123
@cypix314123 5 жыл бұрын
@@magno5157 I don't really know. I think they will use the C++ attribute syntax. I stop working with C++ at C++14 and I heard that about contracts on C++ podcast. I found this www.modernescpp.com/index.php/c-core-guidelines-a-detour-to-contracts int push(queue& q, int val) [[ expects: !q.full() ]] [[ ensures !q.empty() ]]{ ... [[assert: q.is_ok() ]] ... }
@MrMartingale1
@MrMartingale1 4 жыл бұрын
@@cypix314123 wow C++ is becoming even more pathetic soup of punctuation marks
@10e999
@10e999 6 жыл бұрын
Great talk.
@japrogramer
@japrogramer 6 жыл бұрын
where did he import @ensure from?
@серымуткамнапрудах
@серымуткамнапрудах 6 жыл бұрын
from contracts
@l_combo
@l_combo 4 жыл бұрын
The module is: pypi.org/project/dpcontracts/ Git Repo: github.com/deadpixi/contracts
@damickillah
@damickillah 4 жыл бұрын
"...better than any testing framework out there...any language..." Ok. Hypothesis is almost an exact clone of quickcheck for haskell. So, dude, nah.
@CripplingDuality
@CripplingDuality 4 жыл бұрын
He did say 'one of the best', to be fair, and considering the limitations of Python when compared to Haskell, that's a significant achievement.
@ruixue6955
@ruixue6955 3 жыл бұрын
2:57 beyond unit tests
@MH-oc4de
@MH-oc4de 2 жыл бұрын
Yawn. Yet another talk with contrived examples designed to justify the existence of non-necessary packages that are not worth the tiny benefit they provide.
Lisa Roach - Demystifying the Patch Function   - PyCon 2018
37:07
PyCon 2018
Рет қаралды 46 М.
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 19 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,5 МЛН
Carl Meyer - Type-checked Python in the real world - PyCon 2018
32:10
Pro tips for writing great unit tests - Raymond Hettinger
1:00:42
Python Italia
Рет қаралды 14 М.
Raymond Hettinger, Keynote on Concurrency, PyBay 2017
1:13:53
SF Python
Рет қаралды 152 М.
Simple Code, High Performance
2:50:14
Molly Rocket
Рет қаралды 252 М.
Flutter Engage
3:58:21
Flutter
Рет қаралды 1,8 МЛН
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 19 МЛН