Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
2h
on July 3, 2023
|
parent
|
context
|
favorite
| on:
C’s Biggest Mistake (2009)
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
on July 3, 2023
[–]
I'm not sure what your point is. We're talking about c null terminated strings, not go.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: