AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Using Algebraic Data Types in JavaScript
elm is more like you have to do this no matter what, rather than like Rust you can choose to opt out kind of right I mean elms big claim is basically if you write a program in elm you will have zero runtime errors. And the language makes it almost impossible and they'll admit that once they wrote one at what's called no red ink or something. But I think they claim okay we haveruntime error once and it was we were using the API wrong and it was sort of our fault. In Rust because their sense of safety right again it's compiling a JavaScript so memory safety isn't really concerned and it's in a browser which is sandboxed their idea of safety