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.

Rust's Result Type for Python

5 pointsby toomanyducksabout 4 years ago

2 comments

pizzaabout 4 years ago
I'm not super familiar with Rust or MyPy, but I was wondering if you could mention what the distinction is between returning a Result vs e.g. a type hint for returning an exception
评论 #26693952 未加载
asplakeabout 4 years ago
Can anyone say how this would work with pattern matching? Something for that page to address perhaps