Y
Hacker News
new
|
ask
|
show
|
jobs
by
hanikesn
470 days ago
How often did you access a nil pointer and caused a panic?
2 comments
donatj
470 days ago
Well I meant code that panics intentionally, via a call to panic, I've certainly written my share of off-by-ones ;)
link
KingOfCoders
470 days ago
Not a lot, nilaway works quite well.
link
KingOfCoders
470 days ago
https://github.com/uber-go/nilaway
link