Hacker News new | past | comments | ask | show | jobs | submit login

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.




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

Search: