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

> refactor codebase are rust’s main drawbacks

Hard disagree about refactoring. Rust is one of the few languages where you can actually do refactoring rather safely without having tons of tests that just exist to catch issues if code changes.



Lifetimes and generic tend to leak so you have to modify your code all around the place when you touch them though.


Explicit lifetimes are not super common, and I haven't had any trouble with them causing refactor headaches. Generics obviously do leak, the same way that C++ templates do.




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

Search: