[python drops] f-strings

In this Python Drops episode we’re going to talk about f-strings, also known as Literal String Interpolation. This feature was added on Python 3.6 and the goal is making the String interpolation more readable. Interpolation is a fancy name to mount/create/construct a String from data you want to: a variable, a method return and so on. Before it, the common way to interpolate Strings looked like this: Format Strings (example from the oficial documentation)

Read More →

48 hours to learn Go

In other words: Ruby, JavaScript or Go? I applied to a position in a really nice company from Sillicon Valley, with an office in Berlin. In the job description I just paied attention to the fact that the person should know Python - the language I like most. 🤓 When the first email from the company arrived, I was very excited! Hi Ana, Thank you for your interest in Bla!

Read More →

In Tests We Trust

A gentle introduction about Test-Driven Development with Python! This post is based on a talk that I did during Python Nordeste 2017. I hope you enjoy! Please don’t forget to give me some feedback. So, you wanna do some tests, right? Some time ago, when I was beginning my career as a programmer, I heard other programmers talking about two things: refactoring and unit tests. To be honest, they just talk about refactoring to explain why this practice should be avoided (and how scared they were to do it) and about unit tests to say they are too expensive to begin with, that they spend a lot of time, etc.

Read More →