Y
Hacker News
new
|
ask
|
show
|
jobs
by
0x696C6961
28 days ago
Then write yourself a MustMarshal wrapper that panics.
2 comments
jeremyloy_wt
28 days ago
A generic Must[T] you mean ;)
link
hnlmorg
28 days ago
The GP is talking about compile time errors. You’re discussing exceptions, which is still a runtime check
link
0x696C6961
27 days ago
Their complaint is about the signature. The comment about the compile time checking was a misguided justification for their position.
link