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

This comes from some dated idea for stuff like C where "its okay to use shorthands for variables" but is it really? The only place I allow it is simple iterators, but now we have enhanced loops where even this is unnecessary. We don't need to save on pixel screen space like if its still the 90s. Even with a simple 1080p monitor you can fit plenty of words and code.

Give your variables, functions, classes meaningful descriptive names that make sense to humans.



As creators of Go have strong ties with the creators of C, that idea is not so dated.


Just because some brought it back to modern languages, doesn't mean it's not rooted in a practice from constrained hardware. I'd rather we name things what they mean.




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: