News for hackers. Stuff that matters.
Re:The borrowchecker is what I like the least about Rust by JambalayaJimbo on Sunday July 20, 2025 @01:10AM (#44622161)
Your example is of a greenfield project rather than living code that is constantly updated, in some cases by many people simultaneously. The compiler being a gate for correctness is far superior in the latter case.
Re:The borrowchecker is what I like the least about Rust by ActorNightly on Sunday July 20, 2025 @03:01PM (#44628247)
If you enforce very strict interfaces through language, no matter how many people work on them, the tradeoff still applies.

For example, you can have multiple people working on a code base for the second case, and some sub team has a new requirement for added functionality. Now they have to go refactor a whole bunch of the codebase to make all the types coherent. And consequently, shortcuts happen here, which leads to shit codebases.

Re:The borrowchecker is what I like the least about Rust by JambalayaJimbo on Tuesday July 29, 2025 @12:40PM (#44725525)
Lazy developers are going to choose the path of least resistance. A well designed type system will be intuitive, communicate well the original developer's wishes, and add lots of friction for doing stupid things. A lazy developer will not want to refactor the whole codebase!