计算机编程常用词汇

编程中常用的动词

open 打开 close 关闭
read 读取 write 写入
load 载入 save 保存
create 创建 destroy 销毁
new 新建 delete 删除
backup 备份 restore 恢复
import 导入 export 导出
split 分割 merge 合并
inject 注入 extract 提取
attach 附着 detach 脱离
bind 绑定 separate 分离
view 查看 browse 浏览
edit 编辑 modify 修改
select 选取 mark 标记
copy 复制 paste 粘贴
undo 撤销 redo 重做
insert 插入 remove 移除
add 加入 append 添加
clean 清理 clear 清除
index 索引 sort 排序
find 查找 search 搜索
increase 增加 decrease 减少
play 播放 pause 暂停
launch 启动 run 运行
compile 编译 execute 执行
debug 调试 trace 跟踪
observe 观察 listen 监听
subscribe 订阅 publish 发布
input 输入 output 输出
encode 编码 decode 解码
encrypt 加密 decrypt 解密
compress 压缩 decompress 解压缩
pack 打包 unpack 解包
parse 解析 build 构建
generate 生成 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 聚集
shim 衬垫 sham 伪装
pick 拿取 seek 寻找
translate 平移/翻译 rotate 旋转
zoom 变焦 scale 缩放
skew 歪曲 shear 剪切

 

FIRST 原则:专注(Focused,单一职责)、独立(Independent)、可复用(Reusable)、简洁(Small)和可测试(Testable)。

Write it the right way first time, and make sure you only move on when it's done right.

Fall in love with the problem, not the solution.
It is your job to listen to their problems, and translate those into what is going to build the best and simplest solution for them...

不是用户要什么就给什么,关注焦点并不在于问题本身,而是想尽一切办法找到那需求的根源——即,关注焦点在于更本质的、更深层次的原因,而后给出最好、最简的解决方式。

posted @ 2011-05-24 15:38  刘俊峰  阅读(808)  评论(1编辑  收藏  举报