Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What about maintainability here, how would you rate it vs. (go, python, etc.)? I.e. coming into a new code base, etc?


I'm neither the OP nor a Rust expert, but I have found it quite easy to jump into and read/tweak both an established expert's code base and a new learner's code base.

Compared to Python: Rust is certainly a bit more verbose, due to being much more careful with performance, memory and precise types. But I find that the last one actually makes Rust easier to maintain. In Rust, I just have to look at the types being passes around, while in a complex Python code base, I might ask PyCharm for all calls to a function and work backwards, slowly try to infer what kind of thing a variable might be.

Go is much closer to Rust in terms of maintainability, but I haven't worked with it enough to say, because I didn't like other aspects of the language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: