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

`bytes` is the name of a stdlib package. `string` is the name of a built in type. `template` is technically available, but only because it’s the name of this package, so it can’t refer to itself.


True, but they are all available. The stdlib bytes packages is not loaded, and it's valid to use `string` as a variable name, I just tried.

But even if these names were not available, I don't think using `tpl` or `t` or `b` is what should be preferred.




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

Search: