如果您使用的国际标识符的Java / C#? [英] Should you use international identifiers in Java/C#?

查看:106
本文介绍了如果您使用的国际标识符的Java / C#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#和Java允许类名,方法名,局部变量等几乎所有的字符..它是不好的做法是使用非ASCII字符,测试不佳编辑和分析工具的界限,难以让某些人阅读,或者是美国的傲慢对唯一的参数?

C# and Java allow almost any character in class names, method names, local variables, etc.. Is it bad practice to use non-ASCII characters, testing the boundaries of poor editors and analysis tools and making it difficult for some people to read, or is American arrogance the only argument against?

推荐答案

我会坚持到英语,只是因为你平时从不知道是谁正在该代码,因为一些在构建/测试/ bug跟踪进度使用第三方工具可能有问题。在非德国键盘打字äöüß是一个简单的PITA,我只是认为,从事软件开发的人应该会说英语,但也许这只是我的傲慢为母语非英语的人。

I would stick to english, simply because you usually never know who is working on that code, and because some third-party tools used in the build/testing/bugtracking progress may have problems. Typing äöüß on a Non-German Keyboard is simply a PITA, and I simply believe that anyone involved in software development should speak english, but maybe that's just my arrogance as a non-native-english speaker.

你叫什么?美国的傲慢是不是你的程序是否使用国际的变量名,当你的程序认为Währung这是和Wahrung都是同样的话。

What you call "American arrogance" is not whether or not your program uses international variable names, it's when your program thinks "Währung" and "Wahrung" are the same words.

这篇关于如果您使用的国际标识符的Java / C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆