| ▲ | pjmlp 5 hours ago | |||||||
Many people try to twist the fact memory safe languages have unsafe code blocks to make the pivot that why bother. It is like someone arguing that since they always bump the head somehow while wearing seatbelts, then they are only a nuisance and should not be used. | ||||||||
| ▲ | tadfisher 3 hours ago | parent [-] | |||||||
Because they view "unsafe" as an escape hatch instead of a feature. It's a way to encapsulate dangerous behavior, tightly, with clear postcondiitions. Sometimes it's the only way to do things like interact with inherently unsafe FFI code, or hardware. | ||||||||
| ||||||||