有在代码中使用中文命名的吗?
Tofloor
poster avatar
xuanwu
deepin
2019-03-08 22:32
Author
本帖最后由 xuanwu 于 2019-3-8 14:35 编辑

欢迎到"中文编程"GitHub组一聚: https://github.com/program-in-chinese/overview
多数项目的阶段报告成文在"中文编程"知乎专栏: https://zhuanlan.zhihu.com/codeInChinese


Reply Favorite View the author
All Replies
avatar
187******69
deepin
2019-03-08 22:52
#1
不知道你的意思是什么?是中文变量名还是在数据库中使用中文字段?我个人感觉应该很少会有使用中文命名的吧。易语言除外。。。
Reply View the author
avatar
fuyao
deepin
2019-03-08 23:21
#2
一天竟扯淡。
Reply View the author
avatar
yjhenan
deepin
2019-03-08 23:27
#3
一直在关注,老哥
Reply View the author
avatar
funtoo
deepin
2019-03-08 23:47
#4

Reply View the author
avatar
Amadeus
deepin
2019-03-09 00:08
#5
用英文字母编程不好吗······
Reply View the author
avatar
xuanwu
deepin
2019-06-02 22:47
#6
本帖最后由 xuanwu 于 2019-6-2 14:49 编辑
https://bbs.deepin.org/post/175339
不知道你的意思是什么?是中文变量名还是在数据库中使用中文字段?我个人感觉应该很少会有使用中文命名的吧 ...

中文命名标识符,包括类、方法、变量名等,也包括数据库中的表、列名。
比如:
《中文代码示例之Spring Boot 1.3.3演示》:https://zhuanlan.zhihu.com/p/31417833
《中文命名之Hibernate 4+MySQL演示》:https://zhuanlan.zhihu.com/p/63518209

星星之火。
Reply View the author
avatar
wtz
deepin
2019-06-02 23:13
#7
我记得之前有个推广习语言的老哥,能出来回应一下不?
Reply View the author
avatar
haohaohao
deepin
2019-06-03 00:16
#8

Reply View the author
avatar
linux000
deepin
2019-06-03 00:51
#9
没有,中文太复杂了。
Reply View the author
avatar
superendermansm
deepin
2019-06-03 02:24
#10
拼音算么?
Reply View the author
avatar
superendermansm
deepin
2019-06-03 02:27
#11
int suapi=0;
int laoshisuapi=38
信竞老师不知道系列
我之前还闲的没事自己弄了一个fxxk函数,就是简单重复了swap,只不过fxxk两个变量很喜感
Reply View the author
avatar
WangZhongyun
deepin
2019-06-03 02:29
#12
中文变量或数据库用中文字段完全没问题。中文编程就用易语言吧。
Reply View the author
Comments
haohaohao
2019-06-03 04:24
易语言比习语言功能更多更强大,如果输写能象易飞扬一样那认可度应该会超现在这个水平。
avatar
xuanwu
deepin
2019-06-03 07:18
#13

拼音是中文吗?
Reply View the author
avatar
xuanwu
deepin
2019-06-03 07:20
#14

习和易好像都不开源?
Reply View the author
Comments
haohaohao
2019-06-03 17:58
习语言还在更新完善中,如有能力有意愿可联系参与呀
avatar
xuanwu
deepin
2019-06-03 07:21
#15
https://bbs.deepin.org/post/175339
中文变量或数据库用中文字段完全没问题。中文编程就用易语言吧。

商业项目更多用的是开源的英文编程语言。既然它们都支持中文命名标识符,何乐不为?
Reply View the author
Comments
haohaohao
2019-06-03 18:08
用非母语编程想成为一个顶级的编程人员其难度应该是加倍的,一个国家想有更多顶级编程人员用非母语编程难度也是加倍的
avatar
xuanwu
deepin
2019-06-03 07:23
#16
https://bbs.deepin.org/post/175339
中文变量或数据库用中文字段完全没问题。中文编程就用易语言吧。

商业项目更多用的是开源的英文编程语言。既然它们都支持中文命名标识符,何乐不为?
Reply View the author
avatar
187******69
deepin
2019-06-03 14:56
#17
https://bbs.deepin.org/post/175339
int suapi=0;
int laoshisuapi=38
信竞老师不知道系列

不是老师不知道,是你的语文学的太差了。。。
Reply View the author
avatar
xuanwu
deepin
2019-06-03 19:58
#18
https://bbs.deepin.org/post/175339
习和易好像都不开源?

不开源的话,个人认为比较难以被商业项目采用。
Reply View the author
avatar
superendermansm
deepin
2019-06-04 07:36
#19
sk811229 发表于 2019-6-3 06:56
不是老师不知道,是你的语文学的太差了。。。

suapi读起来比sha b要连贯而且更滑稽,更适合开玩笑用。。。故意这么说的
Reply View the author