I've stopped using print() for debugging in Python. And you should too. Here's why: We've all been there. Littering our code with print() statements just to see what a variable holds. It's messy, tedious to write, and a pain to clean up later. What’s a simple alternative? IceCream - a library that makes debugging effortless and more readable. It automatically prints variable names and their values, saving you time and keystrokes. • Cleaner. • Faster to type. • More context with zero extra effort. • A game-changer for quick checks and exploring data frames. #Python #DataScience #DeveloperTools #Programming #CodingTips
If you always include the word oink in your debugging prints they are easy to find and remove later.
I'd rather use a proper runtime debugging and stack tracing tool than importing random libraries and increasing the chance of adding a supply chain attack vector, thanks.
I don't see the advantage. What is the advantage?
as funny as this...this is really needed..one for scalars, lists, dicts.
I've seen this module around a couple times. I'll definitely be trying it out within my projects. It looks really helpful.
Interesting! I'll have to try this out
would be nicer to add a decorator to the function?