Hacker News new | ask | show | jobs
by adrianmsmith 286 days ago
Having table names plural e.g. "customers" and object names in your programming language e.g. "customer" is one extra piece of complexity that's not necessary.

For example we have a table "customer_data" at work and in our generated ORM code it's called "customer_datum".

The open-source singularization library is doing its job, but it sure made it difficult for me to global-search for that object name when I joined the company and didn't know the object was called that.

1 comments

data is basically the singular word at this point in English language history :). "Datum" now remains as a fun quiz for the people who don't know.