Python-Sevilla Junio - Evento especial (Python Tour by Kiwi.com)
Detalles
Muy buenas pythonistas!
Para el MeetUp de junio contamos con el patrocinio directo de Kiwi.com (https://code.kiwi.com/), en el marco de su Python Tour, que nos trae a dos de sus desarrolladores Python desde República Checa. Se han preparado dos charlas para este evento, habiendo sido una de ellas también elegida para la próxima conferencia Europython. Nos os lo perdáis, ya que después de las charlas haremos una sesión de networking, con ¡pizza y cerveza gratis!
La celebración del evento será en Arcadia coworking, en la calle Cuna, 16. Primera planta.
Charlas:
- Don't talk, scheme! By Tin Marković
Make service integration easier with schemata
Services (Micro or SOA) often introduce misunderstandings between teams and parties. During development, there's always room for change and improvement - things are flexible. This can be problematic with several teams and several services in parallel.
Bind them with schema. Enforce the schema programmatically and use it to test. Reuse internal standards through your ecosystem, without consistency issues on your dependents.
Examples are in Python: implementation and demonstration of some principles, and how they integrate.
Duration: 25 min.
Language: English
- From legacy code to modern code by Stanislav Geidl
Starting a new project is fun. But what about an existing project consisting of big monolithic legacy code in Python 2 that has no tests and breaks often? Would you start from scratch to rebuild this project? We decided to do it the opposite way - we started to change our current code a step by step.
Refactoring the old code was a hard time full of trials and errors. From the beginning, we could only rely on weak monitoring to reveal bugs or not properly working service. We ended up in a position where new release would put us in the risk, and we were afraid to do it. Enhanced monitoring allowed us to stabilize the service until we were able to add tests. With every small improvement our confidence rose, maintenance became easier and adding new features became smoother. Finally, we were ready for the biggest step - switch to Python 3. After a year full of preparations, this exciting and successful work took us only a few days.
But we did not stop there. Our codebase was still full of complex legacy functions, which were hard to test. We needed to improve the architecture and break the monolith to single-purpose packages, which we could connect via dependency injection. We followed the SOLID principles which allowed us to make better tests and to make our code more flexible to big changes.
I would like to explain to you our way to better code and tell you about the fundamental principles we used.
Duration: 30 min.
Language: English
Os esperamos!
