I wonder if "creat" is a valid function call somewhere.
I wonder if "creat" is a valid function call somewhere.
That's one of the nice things about the .Net libraries, consistency within the naming and layout. Often times you could guess what something would be called and you would be correct.
Powershell took this one step further with their wonderful Verb-Noun pattern for everything: Get-Service, New-Service, Restart-Service, Start-Service, Stop-Service, and so on...
When I tried Go for the first time it was a marked improvement over for example C++, but the libraries are poorly laid out in my opinion, and the naming is hugely inconsistent. It is starting from a point of weakness, and I actually find classic C libraries a little better (C++ a lot worse), just because at least C is consistent with itself.
Seems like the Go designers thought saving characters was a more important design consideration than clarity. As if tab auto-completion wasn't a "thing."
The other examples you've provided mirror the Unix API; it would be more confusing to rename them, despite their unfortunate terseness.
As Someone1234 noted, this kind of inconsistency in a relatively new language is very puzzling.
http://gophercon.sourcegraph.com/post/83845316771/panel-disc...
In a world where millions of Chinese programmers have to use keywords written in a foreign language who am I to complain?
There is little reason to expect that reforming POSIX spelling is going to be any more successful than reforming English spelling.