chinese description:
laravel orm的命名规范对强迫症来说简直是一种灾难,为什么会有这样的设计。。
数据库字段设计成小写字母+下划线,例如order_item表中有个字段goods_name
那么laravel代码中,就得这样写:$orderItem->goods_name
驼峰和全小写混合,强迫症表示实在受不了啊。。。受不了。。。受不了。。。
english description: for example: I have a table named order_item and the table have a column named goods_name in laravel orm I will write code such as: $orderItem->goods_name
the hump naming with the whole lower case,,,,
why why why
why the laravel design so。why not design like:$orderItem->goodsName
I am going nuts.