nathanbreitsch / storytime

Make stories with your friends!
0 stars 0 forks source link

Come up with better collection names #5

Closed nathanbreitsch closed 10 years ago

nathanbreitsch commented 10 years ago

for example, foreach story gets all the sentences in the story which is counterintuitive

brianbreitsch commented 10 years ago

fragments should describe the things people submit. stories should describe the overall story, which may be a sequence of fragments. I will think about this and possibly make the change.

nathanbreitsch commented 10 years ago

You have a collection of selected sentences and a collection of submitted sentences. We will eventually need to store votes too. I agree that fragments are a better description than sentences since we do not require complete sentences. I think we should name the first two collections either "selected" and "submitted" or "selectedFragments" and "submittedFragments". The third would simply be "votes."