💻 开发基础
职场英语 · 程序员·技术词汇 · 共 33 个核心词汇 · 11 条场景例句
词汇表
- code /koʊd/ n. 代码;准则;密码;法规;法典;把...编码
- coding /ˈkoʊdɪŋ/ n. 编程;译码;编码
- programming /ˈproʊɡræmɪŋ/ n./v. 计划,节目(单),程序;编程;节目的计划;编制程序;程序设计;程序编制
- developer /dɪˈveləpər/ n. 开发者;显影器
- programmer /ˈproʊɡræmər/ n. 程序员;程序设计员
- software /ˈsɔːftwer/ n. 软件;软设备
- engineer /ˌendʒɪˈnɪr/ n. 工程师;工兵;设计;监造;精明地处理;策划
- codebase /ˈkoʊdˌbeɪs/ n. 代码库;编码基数;基本代码;代码存根
- repository /rɪˈpɑːzətɔːri/ n. 代码仓库;贮藏所;贮物器;仓库;博物馆;店铺;陈列室
- repo /ˈriːpoʊ/ n. 仓库(repository 简称);购回债券(等于repurchase agreement)
- source code n. 源代码
- function /ˈfʌŋkʃn/ n. 功能;运转;官能;职务;函数;活动;运行;行使职责
- method /ˈmeθəd/ n. 方法;办法;条理;秩序
- class /klæs/ n. 班;班级;阶级;种类;课;分类;类别
- object /ˈɑːbdʒekt/ n./v. 对象(编程);物体;反对
- variable /ˈveriəbl/ n./adj. 变量;可变的;易变的事物;变数;可变物;不定的;易变的;变量的
- constant /ˈkɑːnstənt/ adj. 常量;恒定的;持续的
- parameter /pəˈræmɪtər/ n. 参数;参变数;参变量;参量
- argument /ˈɑːrɡjuːmənt/ n. 参数、实参(编程);论点;争论
- return value n. 返回值
- loop /luːp/ n. 圈;环;弯曲部分;循环;使成环;以圈结;以环联结;打环
- condition /kənˈdɪʃn/ n. 条件;情况;使健康;以...为条件;决定;使适应
- array /əˈreɪ/ n./v. 一系列;排列;衣服;大批;军队;布署;打扮;数组
- string /strɪŋ/ n. 细绳;一串;线;字符串;串起;成串;收紧;缚
- integer /ˈɪntɪdʒər/ n. 整数;完整的事物;整体;整型
- boolean /ˈbuːliən/ n./adj. 布尔值;布尔的;逻辑的;布尔型
- null /nʌl/ adj. 无效的;零;无效力的;无价值的;空;零位
- exception /ɪkˈsepʃn/ n. 例外;异议;除外;异常
- error handling n. 错误处理
- debug /diˈbʌɡ/ v. 调试;排除故障;除错;改正有毛病部分;除去窃听器
- compile /kəmˈpaɪl/ v. 汇编;编纂;编译;编辑;收集
- runtime /ˈrʌnˌtaɪm/ n. 运行时;执行时间;运行时间
- syntax /ˈsɪntæks/ 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 包起来并记录异常。