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: Affirm – Improved error messages for Python assert statements

2 pointsby zoozlaalmost 9 years ago

1 comment

zoozlaalmost 9 years ago
I like to have a liberal amount of asserts in my code, especially when I'm interfacing with some external component, just to make sure I've got my assumptions correctly. The Python assert errors are pretty useless, so I made a small library to make them (slightly) better. Hopefully other people can use it too.