你用你的语言编写变量吗? [英] Do you code variables in your language?

查看:131
本文介绍了你用你的语言编写变量吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在一个项目,其中库有一个对象的属性颜色,不过是英国人在写变量和属性时总是使用颜色。

I am just working on a project where the library has an object with the property color, however being British I always use colour when writing variables and properties.

美国英语是现在开发的默认语言吗?

Is American English the default for development now?

推荐答案

我是英国人,通常在编码中使用美国人。这是因为大多数主流图书馆(例如C#Java)使用美国标准,所以如果你的代码与之匹配,这在每个人的脑海中都更容易。

I'm British and usually use the American in coding. This is because most mainstream libraries (eg C# Java) use the American standard, and so if your code matches this it is easier on everyone's mind.

尝试记住我是否应该使用-ize或-ise总是需要我一段时间。

Trying to remember whether I should use -ize or -ise always takes me a while though!

:Java 颜色

这篇关于你用你的语言编写变量吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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