This month, our new friends at Traveloka are hosting us again. Daryl, if you are reading this, make sure not to buy too much Pizza this time π
Agenda:
7:00pm: Meet & Greet
7:30pm: "Hunting Bugs While Sleeping - Property-Based Testing with Hypothesis" by Paul Lorett Amazona
Hypothesis is a library designed to help you write what are called property-based tests. The key idea of property based testing is that rather than writing a test that tests just a single scenario, you write tests that describe a range of scenarios and then let the computer explore the possibilities for you rather than having to hand-write every one yourself.
Think of a normal unit test (example-based) as being something like the following:
1. Set up some data.
2. Perform some operations on the data.
3. Assert something about the result.
Hypothesis lets you write tests (property-based) which instead look like this:
1. For all data matching some specification.
2. Perform some operations on the data.
3. Assert something about the result.
Paul attended PyCon AU again this year and took part in the conference sprints where he got the opportunity to immerse into the hypothesis library, interact with collaborators, and contribute to the project. He'll be sharing an overview of hypothesis and his experience during the PyCon sprints.
Paul is a developer who enjoys polyglot development.
He speaks in various tech communities (PyData, Python Users Group, .NET Users Group, etc.) and conferences (FOSSAsia, .NET Conference ( https://www.dotnetconfsg.com/ ), etc.)
Heβs also a core volunteer in DataKind, a non-profit organization which uses data science to help other non-profit organizations get insights from their data to serve their communities better.
--------------------
8:00pm: "Static vs. Dynamic debate is over. We won. Kindof. What next?" by Dima Quade
Static vs. Dynamic debate is half a century old.
We won. Right?
What now?
How does the battlefield look today?
What lessons can we learn from the past and apply tomorrow?
The debate is not about programming languages any more. Weβll cover data modelling, software development practice and how we approach problems. Iβll try to give insight why some (individuals) prefer one or the other and how some (organisations) institutionalise one or the other. I promise an unexpected ending, though I canβt promise that all will like it.
Dima wrangled with Pythons since 2.4. Heβs seen it all, from startups to tech giants. Heβs passionate about beauty of expression in programming and democratisation of software craft.
https://www.meetup.com/Singapore-Python-User-Group/events/254636242/