Answer the question
In order to leave comments, you need to log in
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
Maybe Card?
Like cards that are assigned to books, magazines in a real library.
Or title.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question