how to deal with numbers in camelcase naming policy?

微笑、不失礼 提交于 2020-08-01 06:39:07

问题


Can anyone tell me how to rename variables like play_size_32,play_url_24_m4a in camelcase naming policy? I am deserializing json string, but I don't know how to deal with such variable names.


回答1:


playSize32, playUrl24M4a

I agree that camel case is not great when dealing with numbers, you should try to avoid variables names containing them



来源:https://stackoverflow.com/questions/37496068/how-to-deal-with-numbers-in-camelcase-naming-policy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!