| ▲ | Insanity a day ago | ||||||||||||||||
That relies on a programmer doing the right thing and knowing when to use the escape valve. From the codebases I've seen, I don't trust humans in doing the right thing and being judicious with this. But it's a good point, knowing when to deviate from a pattern is a strong plus. | |||||||||||||||||
| ▲ | bazoom42 8 hours ago | parent | next [-] | ||||||||||||||||
> I don't trust humans in doing the right thing and being judicious with this. Language-level safety only protect against trivial mistakes like dereferencing a null-pointer. No language can protect against logical errors. If you have untrusted people comitting unvetted code, you will have much worse problems. | |||||||||||||||||
| ▲ | fooker a day ago | parent | prev [-] | ||||||||||||||||
That's why code reviews exist, it's good process to make code reviews mandatory. | |||||||||||||||||
| |||||||||||||||||