Skip to content

Instantly share code, notes, and snippets.

@Ray-56
Last active May 21, 2022 11:59
Show Gist options
  • Save Ray-56/aa6698b267d4e942098f9afcedd91142 to your computer and use it in GitHub Desktop.
Save Ray-56/aa6698b267d4e942098f9afcedd91142 to your computer and use it in GitHub Desktop.
常用词组

常用词

  • buggy: adj. 多虫的(有bug的)。eg: This is buggy code. This function is buggy.
  • code motion。eg: 可以使用在代码优化中的 commit message 中
  • pair: n. 一对,一双。eg:常用在成对出现的变量命名中

词组

  • allowList、denyList
  • source(源)、destination(目的)
  • copy、paste
  • resolve、reject
  • inlet、outlet
  • login、logout
  • least(最低)、most(最高)
  • low、high
  • little、big
  • load、store
  • negative(消极的)、positive(积极的)
  • ancestor、parent、child
  • tx(transmit 发送)、rx(receive 接收)。常用在通信时

缩写

  • tgl toggle
  • idx index
  • ret result
  • res response
  • cnt count
  • ele element
  • e event
  • sys system
  • cpy copy
  • rm remove
  • ls list
  • lib library
  • repo repository
  • multi multiple
  • gen generate
  • dest destination
  • src source
  • memo memory
  • op operator
  • args arguments
  • opts options
  • idx index
  • val value
  • calc calculate
  • inst instance
  • reg register
  • addr address
  • len length
  • imm immediate
  • assm assembly
  • 2 to
  • 4 for
  • cb callback
  • temp template
  • cur current
  • acc accumulated
  • spec special

抽象

  • Hunter:猎人;猎犬;搜寻者; 一般作为搜索组件的命名

See also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment