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.

Writing correct code, part 3: preconditions and postconditions

9 pointsby MikeTaylorabout 15 years ago

1 comment

msgabout 15 years ago
A coworker and I were talking about this today. We think preconditions, invariants, and postconditions are less intuitive than recursion and base cases. We are aware that recursions and iterations are dual, we just seem to like the recursions better.