Friday, June 12, 2015

possessives - Genitive Case, when use apostrophe and why not allways


I'm writing an article about computer science and I have the following problems:


Is method's name the same as method name?
Is attribute’s name the same as attribute name?

Is property's name the same as property name?


Will the rule applied to the sentences above be the same for their plurals? - like:


Is methods' name the same as methods name?



Answer



English doesn't have a genitive case. There is a "clitic", ('s) that is used to indicate possession (in the general sense)


We might say that John has a car. So we could say that "John's car is red."


We can say that a method has a name. So we would say "The method's name is getElementById"


We can also use nouns to describe other nouns. For example one type of soup is made from mushrooms. We can say "I ate mushroom soup"


In programming, we might say that there are different types of names. Perhaps methods have a different style to attributes. In that you can talk about a "method name", if you are talking about the type of name.


Now there are exceptions and particular idioms, but generally if you want to indicate any sort of possession (an A has B relation) use an apostrophe (A's B). If you are describing something, then you don't need an apostrophe.



The technical name for using a noun like an adjective is "Noun adjunct" See https://english.stackexchange.com/questions/87591/a-noun-adjunct-the-possessive-case


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...