loading...

re: What do you dislike about your favorite language? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I think I'm not used to ' as a language feature (other than strings) so lifetimes specifically hurt my eyes in the beginning. Example from the book...

I guess that lifetimes can be a lot to take in, but in my experience is not very often you have to make lifetimes explicit, the compiler usually infers them, I also used C in my university courses so I'm kinda used to pointers and their notation. I have to admit that when I started with Rust I just cloned everything and it moved it was a String, I've slowly started to replace clones and Strings with references so I'm seeing more references in my code, but also getting more used to them. I think is like the smell of your dog or the smell of garlic, you get used to it, the rest, not so much XD

code of conduct - report abuse