What is Gradual Typing in Python?Introduction Typing in Python works differently! Yes, it is very different as right now Python supports Four Type Systems. First, we have the Duck Typing approach, this is the oldest and the most known approach for Python. Then the Goose Typing whi...Mar 12, 2023 · 4 min readalgorystcorner.hashnode.dev
A Quick Guide to Higher Order Functions in PythonPython is a multi-paradigm programming language, with functional programming being one option, and functions in Python being treated as first-class objects. In this article, we will explore the applications of treating functions as first-class object...Mar 1, 2023 · 3 min readalgorystcorner.hashnode.dev
How to Copy Objects in Python?Python treats variables like reference variables in Java, i.e. the variable does not contain the object, it's more like a label with the name attached to the object. In the next example, we modify the list referenced by “var_one”, by appending anoth...Feb 23, 2023 · 3 min readalgorystcorner.hashnode.dev
3 Ways to Build Data Classes in PythonData classes are used in every OOP language, these are classes that contain only fields and CRUD methods for accessing them and they act as Data holders, but certainly, they can be more! Martin Fowler, wrote in his book Refactoring: Improving the Des...Feb 16, 2023 · 7 min readalgorystcorner.hashnode.dev
3 Common Unicode Issues and How to Fix themUsually, it's not hard for us to do text or string manipulation. We can read from a file, write to a file and compare and order strings. Only At times, it's not so straightforward because there are some potential pitfalls. SyntaxError When Loading Mo...Feb 10, 2023 · 4 min readalgorystcorner.hashnode.dev