Ask HN: Db column naming: snake_case vs. CamelCase, what's the best convention?
5 comments
Depending upon how you organize the words within them (*_id, *_name, *_percent), snake case allows you to parse the column names dynamically for things like santization and formatting.
It's camelCase, not CamelCase
I believe this is PascalCase
I believe this is PascalCase
And reading those becomes nightmares
If you are just working in Javascript/Node.js, CamelCase is the preferred option.