Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
annnnd
on Jan 29, 2016
|
parent
|
context
|
favorite
| on:
Annoyances of API Design
Also, I kind of like the short versions. They are not any more difficult to remember ("Hmm, was it CopyFile of FileCopy?") and you need to search for them the first time around anyway. And it does save the effort when typing.
ucho
on Jan 29, 2016
|
next
[–]
I still don't remember if it is useradd or adduser - one is core linux command, other is script that also set ups home directory and stuff like that.
timlyo
on Jan 29, 2016
|
prev
[–]
Maybe it's just me but I find the short ones much harder. Was it strnCopy or strCopy etc.
And I mostly use some form of auto complete so I'm not worried about the effort saved from typing.
dkersten
on Jan 29, 2016
|
parent
[–]
Also, if you glance at them, strcpy and strncpy look identical, which I find can be problematic.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: