R
R
Roman Krylov2015-06-15 17:15:55
Programming
Roman Krylov, 2015-06-15 17:15:55

How to name the class of the element of the library (the one where books and magazines)?

I am developing a project in Ruby.
It will be an open natural science electronic library.
Books, periodicals, Internet publications, articles will be placed there.
There was a common situation for a programmer, what name to give a variable (in this case, a class)?
Throw in the name of a common class for the elements of the library (it can be a book or an article, etc.), preferably in one word.
At first I thought to call simply Item, but later I considered it a little informative name and commonly used in other parts of the code, the same with Element.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
Julia Vashchenko, 2015-06-15
@xtsidx

Maybe Card?
Like cards that are assigned to books, magazines in a real library.
Or title.

D
DDDsa, 2015-06-15
@DDDsa

publication, for example

M
Mrrl, 2015-06-15
@Mrl

Paper, Publication

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question