|
|
|
|
|
by 9rx
455 days ago
|
|
> stuck relying on a linter to catch you Isn't that what your tests are for? Linters aren't normally intended to stop you from creating undefined behaviour. It is not like Rust negates the need for those tests. Remembering to handle an error is not sufficient. You also need to ensure that you handle it correctly and define a contract to ensure that the intent is documented for human consumption and remains handled correctly as changes are made. Rust is very much a language designed around testing like every other popular language. |
|