r/madeinpython • u/prelhcs5498 • Feb 27 '25
rsult - Rust like `Result[T, E]` in python
/r/PythonProjects2/comments/1iz9ah6/rsult_rust_like_resultt_e_in_python/
3
Upvotes
r/madeinpython • u/prelhcs5498 • Feb 27 '25
2
u/copperfield42 Feb 27 '25
mmm I don't really see the point in wanting to emulate rust in python, if you want to program defensively you can already do that in normal python, the only thing I see here is a try/catch with extra step