英文名称--命名

423 阅读3分钟

在css命名和函数名的时候,经常不知道要给什么名称,这里记载我注意到的名称,希望更能规范自己的习惯,同时能够拓展自己的词汇量。下面或许有少量的代码注释,注释我是从哪里学到这个单词的。

  • bounding: 边界
  • view: 视图
  • cubic: 立方体,立方
  • Dock: 码头,程序坞
  • transform: 转换,转变
  • replusion: 推力,斥力
  • expand : 展开
  • release: 推出,发行,发布
  • plain: 纯,朴素
  • Content-Type: text/plain: 纯文本
  • truncate: 截短。JS中表示去除小数点后的数值
  • sign : 标志,符号
  • union: 并集
  • intersect: 相交,交集
  • difference: 差集
  • provide: 提供,给予
  • inject:注入
  • schema: 计划,纲要
  • batch: 批量
  • operator: 运算符
  • brackets:括号
  • detect: 监测
  • detection: 监测
  • prediction: 预测,预言
  • tail: 尾部,队尾
  • head: 头部,顶部
  • size: 大小
  • empty: 空
  • previous:以前
  • maintain:维护
  • refactor:重构
  • factory: 工厂
  • cabbage:卷心菜
  • polygon:多边形
  • performance: 表演,性能
  • pipe: 吸管,在计算机英语中理解时可以理解为管道,连接,对接的意思,例如
    const rs = fs.createReadStream('./1.png')
    const ws = fs.createWriteStream('./02.png')
    rs.pipe(ws)
    
    在node中,读流的操作,可以连接写流的操作,更能体会这个单词的意思
  • pipeline: 流水线。
  • sample:样品
  • wobble: 摇摆,松动; 摇晃; 犹豫不决; 信心动摇;
  • rubber: 橡胶的,橡胶做的; // css 橡皮筋动画
  • band: 带状的,环的。
  • rubberband: 橡皮筋
  • trace: 追踪,跟踪。console.trace(),可以最终函数的调用关系。
  • directory:目录。pwd 命令查看文件的目录,print working directory
  • fragment: 碎片,片段。
  • exact : 精准的,准确的。
  • Hook: 钩子。
  • eject: 弹出,驱逐。
    npm run eject 
    react 的配置默认是不显示的,使用命令显示配置文件
  • present:存在
"Required String parameter 'mobile' is not present"
参数mobile 不存在
  • remarks: 备注
  • dest:目的。
  • destination: 目的地
gulp 中使用 dest()来处理文件,
  • sonar 声纳,
sonar 代码质量检测平台,检测代码bug, 漏洞,异味
  • prefix 前缀
  • recursion: 递归
  • implement: 实施
  • nested navigators: 嵌套路由
  • fire events: 触发事件
Emmiters are objects that can fire event
fire event:触发事件
  • compact: 把…紧压在一起(或压实);
  • delegate: 授权,委托,选派
  • hence: 因此,由此
  • pseudo–code: 伪代码
  • pseudo: 假的,假冒的
  • ancestor: 祖先,在js 中,通常理解为原型的意思。
  • cast: 在计算机中代表转型的意思。CAST函数用于将某种数据类型的表达式显式转换为另一种数据类型。
  • downcast: 向下转型。
  • upcast: 向上转型。
  • WYSIWYG: 所见即即所得。
what you see is what you get
  • dynamic: 动态的。
  • coords: 坐标。(x,y)坐标
  • seal: 密封,用xxx覆盖表面
// Object.seal() 用来封闭一个对象,并设置所有属性的 configurable:false
  • disturb 打扰,do not disturb,不要打扰
  • bookmark: 书签
VScode 有一款插件叫做Bookmarks,能够快速在书签切换之间。
  • extract:提取,提炼,取出
Extract year from a date
// 翻译:从日期中提取年份
  • quarter: 四分之一
  • expand: 扩大
  • contract: 缩小、合同
 这是一对反义词
  • amend: 修正(文件,法律等)
git commit --amend 修改git 最近一条提交的注释
  • fundamental: 基本原理,基本思想
css grid fundamentals 
css grid 基本原理
  • forgery: 伪造,
常见的web攻击方式:CSRF
CSRF:Cross-site request forgery
跨站请求伪造
  • shallow: 浅的,浅处的
shallow copy an object 浅拷贝一个对象
  • startup: 启动,新兴公司(多指科技公司)