A few examples that will save the day probably* 95% of time. *I don’t have the actual data but seriously, I bet you’ll find those tips useful more often than not! Introduction This article was originally posted on Medium. I use f-strings every day. The irony is I also every day end up searching the Web to… Continue reading Python F-String Codes I Use Every Day
Articles on types
Code Better with Type Hints – Part 3
By Michael Aydinbas on 8 April 2022
This is the third part of a series of articles dealing with the type annotation system in Python, type hints for short. The second part discussed a set of beginner examples and highlighted the benefits of using type hints. This article series is aimed at newcomers to type hints and wants to help you get… Continue reading Code Better with Type Hints – Part 3
Mutable vs Immutable Data Types in Python
By Bob Belderbos on 27 April 2020
Knowing the difference between mutable and immutable types in Python is important. In this article I will give you some practical examples of both and show you some of the advantages of using immutable types. We even look at JS / React / functional programming a bit towards the end.