]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
docs/zh_CN: Remove the Microsoft rhetoric
authorHu Jialun <hujialun@comp.nus.edu.sg>
Sat, 3 Jul 2021 16:48:34 +0000 (00:48 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 15 Jul 2021 12:33:44 +0000 (06:33 -0600)
Update Chinese translation on par with original English coding-style.rst
Related commit b7592e5b82db19b72a34b471f3296ad3f651c8b9

Signed-off-by: Hu Jialun <hujialun@comp.nus.edu.sg>
Reviewed-by: Hu Haowen <src.res@email.cn>
Link: https://lore.kernel.org/r/20210703164834.460447-1-hujialun@comp.nus.edu.sg
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/translations/zh_CN/process/coding-style.rst

index b8c484a84d1053e94d5f5d209bcab3b430337901..638d714bec83cbffcc26404bbd8e072d64522861 100644 (file)
@@ -268,8 +268,7 @@ C 程序员不使用类似 ThisVariableIsATemporaryCounter 这样华丽的名字
 ``count_active_users()`` 或者类似的名字,你不应该叫它 ``cntuser()`` 。
 
 在函数名中包含函数类型 (所谓的匈牙利命名法) 是脑子出了问题——编译器知道那些类
-型而且能够检查那些类型,这样做只能把程序员弄糊涂了。难怪微软总是制造出有问题
-的程序。
+型而且能够检查那些类型,这样做只能把程序员弄糊涂了。
 
 本地变量名应该简短,而且能够表达相关的含义。如果你有一些随机的整数型的循环计
 数器,它应该被称为 ``i`` 。叫它 ``loop_counter`` 并无益处,如果它没有被误解的