有的框架、约定会把数据库的表名,代码逻辑中的 List、Array 等对象用复数名词来命名
比如
const babies: Baby[] = []
但有时会遇到拼错或拼不出查字典的情况,如
user -> users
potato -> potatoes
wolf -> wolves
baby -> babies
mouse -> mice
child -> children
fish -> fish
各位大佬是怎么处理变量命名的复数名词问题的?有什么最佳实践吗?单数名词+List 后缀?