4 ms·
What about Rust do you dislike?
by dlivingston 2y ago
What about Rust do you dislike?
- toast0 2y agoI posted a rant here... https://news.ycombinator.com/item?id=39121489 https://news.ycombinator.com/item?id=39121489 But I'll add that I'm happier in languages that are less structured with types and things. Perl, PHP, Erlang. Where I can just write my code and see if it works, and add checks later, if need be. Erlang's model of 'let it crash' is perfect for me, make the happy path with error checking, but only add error handling if you need to; with hotloading in production so there's little disruption. Faffing about with casting u64 to and from usize when everyone knows I'm only ever running on 64-bit is madness. C feels easier to write than Rust, but then that's because C doesn't care if you tell it to do something stupid, it'll just do it. Also, I don't generally use an IDE, because I'm happy with an editor in one shell and another to compile and run. I do use an IDE when making terrible Android apps and terrible Arduino kinds of things; they're useful, but I can't focus in an IDE the way I can in a terminal text editor, and I've got 25 years of experience in the text editor, so I'm not planning to change.