Bitperi(Periklis Gkolias)

Productivity tips and coding for thriving people

The Incredible Hulk(ython): Making Python Strong(ly Typed)

Python is a wonderful dynamically typed language, but quite a few people consider this as its biggest disadvantage. But why? Even though dynamically typed languages, remove the headache of writing “mundane” type declarations and make writing more pleasant and a little bit faster, this need is just delegated to the runtime environment of the language. That means, that some bugs that could have been eliminated, almost immediately after they are introduced, they will now remain silent till the code is invoked, And you know when this is going to happen, right? Continue reading

A Comprehensive Guide to Unit Testing with Python3

A comprehensive introduction to unit-testing and mocking with Python3 Unit testing is quickly becoming a must for all job adverts. There are a few people who don’t like Test Driven Development(TDD), but at least they agree on the value, automation testing(not only unit tests) add to the overall code quality and to the debugging process. By the time of writing, according to dice.com, TDD is enjoying increased popularity year after year. Continue reading
Newer posts