【术语】实用知识课堂——术语列表大盘点(一)

盘点一下编程中的常见术语。方便大家记忆,建议整理收藏。
1.list: A sequence of values.
列表:一系列值的序列。
2.element: One of the values in a list (or other sequence), also called items.
元素:一个列表或者其他序列中的值,也叫项。
3.nested list: A list that is an element of another list.
网状列表:一个作为其他列表元素的列表。
4.accumulator: A variable used in a loop to add up or accumulate a result.
累加器:一种用来在循环中累加或者拼接结果的变量。
5.augmented assignment: A statement that updates the value of a variable using an operator
like+=.
增强赋值语句:使用 += 这种自增运算符来更新变量值的语句。
6.reduce: A processing pattern that traverses a sequence and accumulates the elements into
a single result.
reduce :一种处理模式,遍历一个序列,把元素积累起来结合成一个单独的结果。
7.map: A processing pattern that traverses a sequence and performs an operation on each
element.
map :一种处理模式,遍历一个序列,对每一个元素都进行某种运算。
8.filter: A processing pattern that traverses a list and selects the elements that satisfy some
criterion.
filter :一种处理模式,遍历一个列表,选取其中满足特定规则的一些元素。
9.object: Something a variable can refer to. An object has a type and a value.
对象:变量所指向的就是对象。一个对象有特定的某个类型,以及一个值。
10.equivalent: Having the same value.
相等:有相等的值。
11.identical: Being the same object (which implies equivalence).
相同:是同一个对象(意味着必然就是相等了)。
12.reference: The association between a variable and its value.
引用:变量 a 与其值的关系。
13.aliasing: A circumstance where two or more variables refer to the same object.
别名:同一个对象有两个或者更多变量所指向的情况。
14.delimiter: A character or string used to indicate where a string should be split.
定界符:一个字符或者字符串,用来确定字符分割时候的分界
15.mapping: A relationship in which each element of one set corresponds to an element of
another set.
映射:一组数据中元素与另一组数据中元素的一一对应的关系。
16.dictionary: A mapping from keys to their corresponding values.
字典:从键到对应键值的映射。
17.key-value pair: The representation of the mapping from a key to a value.
键值对:有映射关系的一对键和对应的键值。
18.item: In a dictionary, another name for a key-value pair.
项:字典中键值对也叫项。
19.key: An object that appears in a dictionary as the first part of a key-value pair.
键:字典中的一个对象,键值对中的第一部分。
20.value: An object that appears in a dictionary as the second part of a key-value pair. This is
more specific than our previous use of the word “value”.
键值:字典中的一个对象,键值对的第二部分。这个和之前提到的值不同,在字典使用
过程中指代的是键值,而不是数值。
21.implementation: A way of performing a computation.
实现:进行计算的一种方式。
22.hashtable: The algorithm used to implement Python dictionaries.
哈希表: Python 实现字典的一种算法。
23.hash function: A function used by a hashtable to compute the location for a key.
哈希函数:哈希表使用的一种函数,能计算出一个键的位置。
24.hashable: A type that has a hash function. Immutable types like integers, floats and strings
are hashable; mutable types like lists and dictionaries are not.
散列的:一种类型,有哈希函数。不可变类型比如整形、浮点数和字符串都是散列的;
可变类型比如列表和字典则不是。
25.lookup: A dictionary operation that takes a key and finds the corresponding value.
查找:字典操作的一种,根据已有的键查找对应的键值。
26.reverse lookup: A dictionary operation that takes a value and finds one or more keys that
map to it.
逆向查找:字典操作的一种,根据一个键值找对应的一个或者多个键。
27.raise statement: A statement that (deliberately) raises an exception.
raise 语句:特地要求抛出异常的一个语句。
28.singleton: A list (or other sequence) with a single element.
单元素集:只含有一个单独元素的列表或者其他序列。
29.call graph: A diagram that shows every frame created during the execution of a program,
with an arrow from each caller to each callee.
调用图:一种图解,解释程序运行过程中每一个步骤,用箭头来来连接调用者和被调用
者之间。
30.memo: A computed value stored to avoid unnecessary future computation.
备忘:将计算得到的值存储起来,避免后续的额外计算。
31.global variable: A variable defined outside a function. Global variables can be accessed from
any function.
全局变量:函数外定义的变量。全局变量能被所有函数来读取使用。
32.global statement: A statement that declares a variable name global.
global 语句:声明一个变量为全局的语句。
33.flag: A boolean variable used to indicate whether a condition is true.
标识:一个布尔变量,用来指示一个条件是否为真。
34.declaration: A statement like global that tells the interpreter something about a variable.
声明:比如 global 这样的语句,用来告诉解释器变量的特征。
35.value: An object that appears in a dictionary as the second part of a key-value pair. This is
more specific than our previous use of the word “value”.
键值:字典中的一个对象,键值对的第二部分。这个和之前提到的值不同,在字典使用
过程中指代的是键值,而不是数值。
36.implementation: A way of performing a computation.
实现:进行计算的一种方式。
37.hashtable: The algorithm used to implement Python dictionaries.
哈希表: Python 实现字典的一种算法。
38.hash function: A function used by a hashtable to compute the location for a key.
哈希函数:哈希表使用的一种函数,能计算出一个键的位置。
39.hashable: A type that has a hash function. Immutable types like integers, floats and strings
are hashable; mutable types like lists and dictionaries are not.
散列的:一种类型,有哈希函数。不可变类型比如整形、浮点数和字符串都是散列的;
可变类型比如列表和字典则不是。
40.lookup: A dictionary operation that takes a key and finds the corresponding value.
查找:字典操作的一种,根据已有的键查找对应的键值。

我们是Greaterwms软件开发团队。

项目介绍:
我们的产品是开源仓储管理软件,荣获gitee最具开源项目奖,评选为GVP项目

我们的产品支持多仓,波次发货,合并拣货,Milk-Run等业务模型。前后端分离为完全开源项目。

  1. 软件著作权编号:2018SR517685
  2. GitHub地址:github
  3. Gitee地址:   gitee
  4. 视频教程:    bilibili
  5. Demo地址:DEMO
  6. 商务联系:mail@56yhz.com
  7. 技术交流:GreaterWMS-01(加微信进群)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值