3 ms·
this ignores the fact that strings can contain a null character. for example, this is a valid Go program: package main import "fmt" func
by 2h 3y 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")
}
- throwawaymaths 3y agoI'm not sure what your point is. We're talking about c null terminated strings, not go.