Y
Hacker News
new
|
ask
|
show
|
jobs
by
2h
1086 days ago
this ignores the fact that strings can contain a null character. for example, this is a valid Go program:
package main import "fmt" func main() { fmt.Printf("%q\n", "hello \x00 world") }
1 comments
throwawaymaths
1086 days ago
I'm not sure what your point is. We're talking about c null terminated strings, not go.
link