Hacker News new | ask | show | jobs
by rectang 2354 days ago
We can help by preferring and recommending tools which allow for auditability of technical debt.

For example, you can grep a Rust code base for "unwrap", "expect", and "unsafe", while in other languages, ignored return codes or unchecked exceptions are harder to detect.

Similarly, (if I am not mistaken) you can grep Swift code for "try", and find every call site that might throw an exception[1]. Can't do that in Java, C#, or Python!

Tool designers can help by differentiating their products through how well they allow for tracking technical debt.

[1] joeduffyblog.com/2016/02/07/the-error-model/#easily-auditable-callsites