TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Magic Functions in Python

14 pointsby dbieberalmost 3 years ago

1 comment

ttymckalmost 3 years ago
Thanks for sharing, and thanks especially for the accompanying write-up. I love seeing this kind of &quot;envelope pushing&quot; in python -- things that make you stop and think &quot;just because we can, does that mean we _should_?&quot;<p>It reminds me of something I hacked together a while back: compatlib[0]. I knew as I was writing it that it would be a bad idea to use in &quot;production&quot;, but felt it was interesting nonetheless. I&#x27;ve been meaning to write a post similar to yours: explicitly warning against using compatlib for anything serious :)<p>[0]<a href="https:&#x2F;&#x2F;github.com&#x2F;tmkontra&#x2F;compatlib" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tmkontra&#x2F;compatlib</a>