send发送 -> deliver/dispatch/announce/distribute/routedeliver递送: to take goods, letters, packages etc to a particular place or person dispatch派发: 正式用语 to send someone or something somewhere for a particular purpose announce宣布: to give information to people using a loudspeaker or microphone distribute分发: to spread something over a large area route路由: to send something somewhere using a particular route
find查找 -> search/extract/locate/recoversearch搜索: to try to find someone or something by looking very carefully extract抽取: to take information or a short piece of writing from a book locate定位: to find the exact position of something recover恢复: to get back something that was taken from you, lost, or almost destroyed
start开始 -> launch/create/begin/openlaunch开始:to start something, usually something big or important create创建: to make something exist that did not exist before begin开始: to start doing something open开启/打开: to make a document or computer program ready to use
make创造 -> create/set up/build/generate/compose/add/newcreate创建: to make something exist that did not exist before set up建立: create by putting components or members together build建造: to make something, especially a building or something large generate生成: to produce or cause something [= create] compose组成: to combine together to form something add添加: to put something with something else or with a group of other things new新建:
js函数命名常用动词get 获取/set 设置, add 增加/remove 删除 create 创建/destory 移除 start 启动/stop 停止 open 打开/close 关闭, read 读取/write 写入 load 载入/save 保存, create 创建/destroy 销毁 begin 开始/end 结束, backup 备份/restore 恢复 import 导入/export 导出, split 分割/merge 合并 inject 注入/extract 提取, attach 附着/detach 脱离 bind 绑定/separate 分离, view 查看/browse 浏览 edit 编辑/modify 修改, select 选取/mark 标记 copy 复制/paste 粘贴, undo 撤销/redo 重做 insert 插入/delete 移除, add 加入/append 添加 clean 清理/clear 清除, index 索引/sort 排序 find 查找/search 搜索, increase 增加/decrease 减少 play 播放/pause 暂停, launch 启动/run 运行 compile 编译/execute 执行, debug 调试/trace 跟踪 observe 观察/listen 监听, build 构建/publish 发布 input 输入/output 输出, encode 编码/decode 解码 encrypt 加密/decrypt 解密, compress 压缩/decompress 解压缩 pack 打包/unpack 解包, parse 解析/emit 生成 connect 连接/disconnect 断开, send 发送/receive 接收 download 下载/upload 上传, refresh 刷新/synchronize 同步 update 更新/revert 复原, lock 锁定/unlock 解锁 check out 签出/check in 签入, submit 提交/commit 交付 push 推/pull 拉, expand 展开/collapse 折叠 begin 起始/end 结束, start 开始/finish 完成 enter 进入/exit 退出, abort 放弃/quit 离开 obsolete 废弃/depreciate 废旧, collect 收集/aggregate 聚集 涉及返回逻辑值的函数可以使用is,has,contains等表示逻辑的词语代替动词
其他
|