You don’t lose info as long as the offset is marked correctly
You don’t lose info as long as the offset is marked correctly
Logging in local time is fine as long as the offset is marked. Everything else I agree with you though
Exactly this. Anyhow makes error handling in rust actually a joy. It’s only something you need to consider if you’re writing a library for others to use, and in that case, it’s good that rust forces you to be very very explicit
That syntax looks atrocious
Are you using an IDE like rustrover? Rust is by far the easiest language I’ve worked with. It makes it so the only way to write code is the right way
Terrible meme. Go is bad and you should feel bad
Yeah, you fit right in
Look at some of their other comments. They’ll fit right in with the other lemmy devs
At my work, we have a big Rails app with lots of tests
Of course they need a blog post to get test times down to something that’s already way too slow. Ruby and Rails are such a dumpster fires
Wtf. You can’t possibly be suggesting that any of this is a good idea
Wtf? How is rust unfun? Rust is by far the best language to write. Try not using references at first, just clone. Then you don’t have to worry about the borrow checker.
Honestly if you think rust is unfun I can’t imagine you’ll get along with c++
It’s because it’s hard to make them correct. It’s not any harder to write it in rust than in C. Just C lets you do it wrong
IE you can quickly and easily write C that compiles but has runtime issues.
So what’s “easy” about it then? Just getting something to compile? That’s not a very good measure of “easyness”.
How so? That’s like, the thing that makes rust awesome to write.
Coding is rust is amazing. It feels so right
Why not choose rust instead of C, then you can trivially write python bindings directly to your rust https://pyo3.rs/v0.21.0-beta.0
Yes Rust is harder to write than C
I would totally argue with this. Rust is way easier to write than C
This is so wrong. I would absolutely prefer no comments over incorrect comments, which is exactly what happens when things get over commented