Follow

为什么不流行国语编程?

Harry Zhu:
中文编程无法调试!因为每隔几天,某些关键字就会被依法屏蔽......

当前的写法:<code>
var country;
if(country==null){
console.log("country value is invalid.")
}
</code>如果用中文来写:<code>
设定 国家;
假如(国家 相当 空虚){
中枢 之 记录(“国家 为 无效”)
}
</code>当前的写法:<code>
import MySQLdb

if __name__ == "__main__":
try:
db = MySQLdb.connect("localhost", "testuser", "test123", "countrydatabase", charset='utf8' )
except IOError:
print("cannot connect.")
else:
print("OK")
</code>如果用中文来写:<code>
导入 我的数据库
假如 名讳 相当 “主上”:
尝试:
库 为 我的数据库 之 连接(“本地”,“测试用户”,“测试密码123”,“国库”,编码 为 ‘统一编码’)
意外 进出错误:
打印(“不能连接”)
否则:
打印(“么么哒”)
</code>一运行就提示:<code>
行号1: 一切数据库属于人民,不存在 “你的数据库”
行号2: 关键字不满足为尊者讳的华律规定
行号4: 您的代码里面包含了非法关键字,该行无法运行
行号5: 普通程序代码不要使用“意外”这类可能造成恐慌的文字
行号6: 不要动不动就“打印”,“打英”,“打赢”,“打毛里求斯”,注意河蟹;
。。。
该程序错误过多,请翔上级请求杯案之后在运行,上级在20个工作日内给予回复,每次审阅一行,遇错误即退回;
退回超过三次说明您不适合编程,需要提供硕士以上毕业证,各个城市要求的居住证(积分需要达到华律允许从事
编程行业的基准),35岁以下年龄证,单身未婚证明,秃顶证
是O锅人就用中文编程,不run不是O锅人:
你是天
你是地
你是时代主旋律
</code>
(手动滑稽

编辑于 2019-09-21・著作权归作者所有

t.me/private_channel_c14370a/2

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.