27 ms·
>Isn't it funny how in the real world, suddenly the so lauded 'type safety' really just doesn't matter that much in practice. I've been writing Javascript for
by neurotrace 10y ago
>Isn't it funny how in the real world, suddenly the so lauded 'type safety' really just doesn't matter that much in practice.
I've been writing Javascript for years and if there's one thing I've learned it's that type safety matters on the large scale. Don't get me wrong: I actually love Javascript. It's my go-to tool when I want to just get things done. But when you start scaling things out and get a lot of moving parts going, type safety really helps lift the mental burden of tracking everything yourself. That's why TypeScript is so popular.
I've been a huge fan of dynamically/weakly typed languages for a while but I've fallen in love with Rust. Yes, it can be a bit painful at the start but it doesn't take hours to get basic IO working and it's quite beautiful once you get into it. The mind-bending part is the ownership model because nothing else has ever had something like that. But, you know, that's just my opinion.