29 ms·
> people have a blind spot for unwrap It's not about whether you should ban unwrap() in production. You shouldn't. Some errors are logic bugs beyond which a pr
by quotemstr 11mo ago
> people have a blind spot for unwrap
It's not about whether you should ban unwrap() in production. You shouldn't. Some errors are logic bugs beyond which a program can't reasonably continue. The problem is that the language makes it too easy for junior developers (and AI!) to ignore non-logic-bug problems with unwrap().
Programmers early in their careers will do practically anything to avoid having to think about errors and they get angry when you tell them about it.