3 ms·
Yes and no. You can write a small script or tool in any language, probably even assembly if you have the experience. Bigger applications, developed by multipl
by valenterry 6y ago
Yes and no.
You can write a small script or tool in any language, probably even assembly if you have the experience.
Bigger applications, developed by multiple people, and longer-term-maintenance are where it gets interesting.
Then, when you suddenly have to refactor and migrate ten thousands of lines of code, the difference that "strict rules" make becomes very visible.
How Rust will do in this regards only time will tell.
- EugeneOZ 6y agoAs an author of tens of thousands lines of Rust code, I can answer (instead of time): ease of refactoring (especially huge codebases) is one of the main selling points of Rust. Everything helps you to refactor code safely and quickly: compiler, IDE, tests. You can rename/move/change signatures without ANY fear, even if you are touching “ancient” code used in a lot of places. Even if something is not covered by tests, compiler will catch.
- valenterry 6y agoNot to invalidate anything you said, but I think Rust is still too immature yet for a full evaluation. It needs another lifecycle of the language ("Rust 2") and the same for the wide used libraries before it can be compared to languages like C++, Java in a more meaningful way.