3 ms·
> This has stopped so many dumb errors of mine. I take this one step further: Having a language with rich-ish types and good error messages like rust means I c
by ben-schaaf 6y ago
> This has stopped so many dumb errors of mine.
I take this one step further: Having a language with rich-ish types and good error messages like rust means I can very often rely on the compiler to tell me how to fix my dumb mistakes. In other words I know where I can be just as if not more sloppy than in an interpreted language and actually get away with it for little effort. I spend a little time getting the parameter and return types as I want them, quickly write an implementation without thinking too much about references and lifetimes then let the compiler work out the details pretty much automatically.