Comments (5)
我是根据 wikipedia 上的词条翻译的。而关键字这个词条看起来并不是很合适。虽然原文使用的是 keyword,不过我觉得还是按照保留字翻译比较好。
但是这个叫法确实值得商榷一下,我或许会征求一下更多人的意见。
from learning-go-zh-cn.
关键字是正在使用的保留字,而保留字更倾向于现在未使用留待将来扩展的字。
赞同,关键字是保留字的一部分。
from learning-go-zh-cn.
我的理解,保留字是指的“语言保留字”,程序员不能随意自定义使用。比如,
C语言的int就是程序员无法修改和定义的 而是系统保留使用的。
from learning-go-zh-cn.
java里goto是保留字,不是关键字。就这样。
from learning-go-zh-cn.
"A keyword is a word that is special only in certain contexts but a reserved word is a special word that cannot be used as a user-defined name." -- var wikipedia
from learning-go-zh-cn.
Related Issues (20)
- ex-communication / ex-quine.tex 里的实例代码被拷贝了两遍 HOT 1
- How to use |\longremark{ } | HOT 1
- 函数一章中答案 A10 关于斐波那契函数的问题
- 进阶一章有重复段落 HOT 1
- 如何生成kindle(6寸)版本的PDF? HOT 2
- go-basics.tex 中的 os.Open 用法有错误
- 请问我该怎么才能做成pdf版本? HOT 1
- Learning Go链接404 Page not found
- page 57 sample codes can not pass compile.
- 请问并发章节的 Q26 (1) channel 第二题的答案是否有问题?
- 第3章“包”的第2题逆波兰式答案有问题? HOT 1
- make failed to create the learninggo.html
- windows make命令使用不了,没有make这个命令 HOT 6
- make命令失败 Failure to read path is not on or below "." 无法生成html HOT 5
- flag.CommandLine.Output undefined HOT 1
- 文件不全 HOT 5
- 文件不全,A solution that only have two chapter
- make执行成功,但是没有生成html文件
- 谁能上传一个生成好的 pdf HOT 1
- 找不到邮箱,只好留这了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learning-go-zh-cn.