Re:What science says about naming in programming
by lallysingh on Sunday January 08, 2017 @11:25AM
(#13350426)
Depends on the context. If other vars are 'addess' and 'phoneNumber', 'name' looks pretty reasonable.
[ Parent
| on HN ]
Re:What science says about naming in programming
by masklinn on Sunday January 08, 2017 @12:02PM
(#13350644)
Hardly.
Is it a person's full name? legal name? first name? last name? nick name? desired call name? a company name? the name (alias) of the stored address?
Re:What science says about naming in programming
by TeMPOraL on Sunday January 08, 2017 @12:54PM
(#13350938)
If you're digging into that specific meaning of the word "name" (as a property of a person), you're likely doing something wrong:
http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...
Re:What science says about naming in programming
by masklinn on Sunday January 08, 2017 @01:43PM
(#13351198)
> If you're digging into that specific meaning of the word "name", you're likely doing something wrong:
If you're not you're definitely doing something wrong.
> (as a property of a person)
The original comment does not specify that it's "a property of a person". It could be a company, it could be a non-specific delivery address, etc...
Re:What science says about naming in programming
by gohrt on Sunday January 08, 2017 @12:24PM
(#13350782)
legal name in which country? name order varies between UK and China. What's a "call"? Whose company? what kind of address?
Following this line of thinking, communication is impossible because everything is ambiguous.