Re:Show HN: Rust Web Framework
by shepherdjerred on Tuesday October 22, 2024 @10:22PM
(#41921126)
Native Option/Result types + algebraic data types would solve quite a few complaints I have about Go
[ Parent
| on HN ]
It would solve many of my complaints as well.
But, to be honest to myself, I don't think anything will be too different in my day-to-day programming, nor that I would produce better code with less bugs.
Re:Show HN: Rust Web Framework
by shepherdjerred on Wednesday October 23, 2024 @12:41PM
(#41926756)
Adts eliminate certain kinds of bugs like nil pointer dereferencing, and, if you model your types correctly, makes invalid states unrepresentable