This question already has an answer here:
- Apostrophe-“s” vs “of ” 5 answers
This is one topic that I thought that I have already known well, but sometimes when I am writing a text or something like this it always come up the doubt of what should I use in the sentence to indicate possession. One example (stack in those sentences mean the abstract data type used in computer programming languages):
- "The stack's top will have the value "0x3000."
- "The top of the stack will have the value "0x3000."
Well, for me both are right. However, I don't know what is the best choice. What's the most "polished" way to say that? Is there a real difference between those two options?
I've already searched the web but I couldn't find any trustful information that I can accept as a good answer to my problem. I saw that when you are relating a parto to a whole you should not use "'s", is this really true?
Is there any good way to remember the cases (or the logic) to use one of those forms?
In the cases that you can use both forms, what is the difference? Is there a informal and a formal way to say, or there is no difference at all?
Please correct any mistakes that I may have made in this text.