top | item 44684298

(no title)

dcsommer | 7 months ago

Unsafety in a language is fine as long as it is clearly demarcated. The problem with Go's approach is there no clear demarcation of the unsafety, making reasoning about it much more difficult.

discuss

order

camgunz|7 months ago

The "go" keyword is that demarcation

bobbylarrybobby|7 months ago

“go” being a necessary keyword even for benign operations makes its use an unsafety marker pointless; you end up needing to audit your entire codebase anyway. The whole point of demarcation is that you have a small surface area to go over with a fine-toothed comb.