Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If any language would've had this bug, why is Rust being singled out? If the software was written in Go, would the bug get the same attention?

No programming language should get flak for a bug that is not the fault of the programming language. This is Cloudflare's problem.



In Go, if one would ignore the error, it could result in a panic or the program would continue with some unexpected state. Go projects work on an honour system and either return Nils with errors or empty structs.


The same case in Go would’ve probably been a nil panic.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: