News for hackers. Stuff that matters.
Re:Show HN: Wat – Deep inspection of Python objects by Tomte on Friday July 26, 2024 @01:22AM (#41075967)
Wrong direction: you‘d „pipe“ wat through the object. Although TiddlyWiki users might feel right at home.
Re:Show HN: Wat – Deep inspection of Python objects by auscompgeek on Friday July 26, 2024 @05:41AM (#41077186)
It could override the reverse bitwise or magic method `__ror__`.
Re:Show HN: Wat – Deep inspection of Python objects by igrek51 on Friday July 26, 2024 @06:47AM (#41077523)
Right, that would be a wrong pipe direction. Fun fact: It's already possible to do "wat | foo" or "wat << foo" (if you're more familiar with C++ iostream), it has the same effect as "wat / foo"