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

There's a big difference between Python's types and and Go's: in Python they're only there to check correctness while in Go they're there to tell the compiler how to lay out the machine code. If the compiler ignored types in Go it wouldn't just throw an error message at runtime, the behavior would be completely undefined.


That’s interesting.

The hacky-developer option I’m after is the ability to cull pieces of code if they do not type check, I guess.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: