Monday 1 August 2011

Are they really in touch with what matters?


As I was developing today, I found this article about pluralizing tables name in ruby on rails:

http://devilelephant.blogspot.com/2007/01/rails-plural-table-names-lame.html

Is it me, or the guys argument is completely subjective? I quote:

Most experienced DBAs will tell you that the name of a table should describe what one record in that table would represent. Who would recommend plural table names? Developers seem to like plural names because they equate database tables with Collections

Basically: "You should not do that because most of the guys I know all said it was bad, trust me"

Furthermore, isn't a database table a collection of things, indeed? My opinion is that it's perfectly normal to pluralize table names. But then I didn't ask my friend to tell me their opinions on the matter ;-)