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

> why the class is named Hash instead of HashMap

Why in golang is a function denoted by func instead of function?

I'd guess it's because programmers prefer fewer keystrokes as long as the term remains sufficiently mnemonic.



The name 'func' doesn't collide with anything else though. It is an entirely more reasonable abbreviation.




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

Search: