Um Blog Sobre Tecnologia, Informação, Literatura e Coisas da Vida

#warning Articles

Python: Use Warnings!

Have you ever confronted a code like this: ``` {lang="python"} shouldn't use this function anymore! Now use XYZ! def some_old_function(arg1,arg2): return arg1 + arg2 This is something that I see too often, and this could be done better. :${IMAGE_TAG} Warnings -------- There is something in python called **warnings**, and guess …