💻 开发基础
职场英语 · 程序员·技术词汇 · 共 33 个核心词汇 · 11 条场景例句
词汇表
- code /kod/ n. 代码,密码
- coding n. 编程
- programming /'proɡræmɪŋ/ n./vt. 计划,节目(单),程序;;编程
- developer n. 开发者
- programmer /'progræmɚ/ n. 程序设计员
- software /'sɔftwɛr/ n. 软件
- engineer /,ɛndʒɪ'nɪr/ n. 工程师,技师
- codebase n. 代码库
- repository /rɪˈpɑːzətɔːri/ n. 代码仓库
- repo n. 仓库(repository 简称)
- source code n. 源代码
- function /'fʌŋkʃən/ v & n. 功能,运行
- method /'mɛθəd/ n. 方法,办法;教学法
- class /klæs/ n. 班,班级;阶级
- object /'ɑbdʒɛkt/ n. 物,物体;目的
- variable /ˈveriəbl/ n./adj. 变量;可变的
- constant /'kɑnstənt/ adj. 不断的,持续的
- parameter /pə'ræmɪtɚ/ n. 参(变)数;参量
- argument /'ɑrɡjumənt/ n. 争论,辩论;理由
- return value n. 返回值
- loop /lup/ n. 圈,环,环孔
- condition /kən'dɪʃən/ n. 状况,状态;环境
- array /ə're/ v./n. (美观地)排列;陈列
- string /strɪŋ/ n. 线,细绳;一串
- integer /ˈɪntɪdʒər/ n. 整数
- boolean n./adj. 布尔值;布尔的
- null /nʌl/ adj. 无效的;零
- exception /ɪk'sɛpʃən/ n. 例外
- error handling n. 错误处理
- debug /diːˈbʌɡ/ v. 调试;排除故障
- compile /kəmˈpaɪl/ v. 汇编;编纂
- runtime n. 运行时
- syntax n. 语法
场景例句
- Clean code is easier to maintain.干净的代码更容易维护。
- This function takes two parameters.这个函数接收两个参数。
- The exception was caught in the error handler.异常在错误处理中被捕获了。
- Always handle null values carefully.一定要小心处理空值。
- I spent the morning debugging the module.我上午一直在调试这个模块。
- Newcomer: Where should I start reading the codebase?新人:我该从哪里开始看代码库?
- Mentor: Start with the main module, then follow the function calls.导师:从主模块开始,跟着函数调用走。
- Newcomer: What does this parameter do?新人:这个参数是干什么的?
- Mentor: It controls the timeout. If it is null, the default is used.导师:它控制超时。如果是空值就用默认值。
- Newcomer: Got it. Should I add error handling here?新人:明白了。这里要加错误处理吗?
- Mentor: Yes, wrap it in a try-catch and log the exception.导师:要,用 try-catch 包起来并记录异常。