Translate.README
Scala Cookbook 2nd Edition中文翻译
术语字典
注意字体的斜体、加粗、段落、数字、空格,参考
0.序言.md
TODO 有比较好的可以自己加
老外的地址和人名不用翻译!
官网参考术语:https://docs.scala-lang.org/zh-cn/cheatsheets/index.html
英文PDF原版链接: https://pan.baidu.com/s/1O_3qixt8xt7Zmz2aTD_0JQ 密码: b9o6 (不要外泄)
官网中文翻译:https://docs.scala-lang.org/zh-cn/tour/
primary constructor 主构造函数
auxiliary constructors 辅助构造函数
case class 样例类
trait 特质
enum 枚举
union types 并集类型
with/mixins 混入
recipes 方法、技巧、例子 看具体语境,或者参考第一版相同部分,Recipe6.6 => 6.6小节
class file class文件
implicit 隐式,或者不翻译,看情况。大部分情况下关键字不翻译,如Scala3的given和using
type class 类型族
expressive 表达式
method 方法
function 函数 或者功能,看情况
operator 操作符
type inference system 类型推断系统
pattern matching 模式匹配
Problem 问题
Solution 解决方案
Discussion 讨论
implicit conversions 隐式转换
varargs 可变参数
function literals 函数字面量
partially applied functions 部分应用函数
light 轻量
dynamic type 动态类型
import 导入
expressions和statements同时在上下文中,expressions为表达式, 一般statements表示语句
statements单独存在,声明/语句,看语境
project 项目/工程,我喜欢在sbt语境上下文中用 工程
type class 类型族
context bound 上下文界定
universal equality 通用相等性
multiversal equality 跨界相等性
术语待定
concrete 具体的 待定
Create Sets of Named Values with Enums 使用枚举创建命名值集
intersection types 交集类型 来自Scala编程5版的翻译
constructor parameters 构造器参数
orthogonal behavior 正交行为
back to front linearization 从后向前的线性化
self-type 自我类型
contractual 契约
structural type 结构化类型
reify 具体化
wiring 缝合
concept 概念
hybrid types 复合类型
hierarchy 层次
error 错误
exception 异常
see also 另见
lifetime 生命周期
examples 例子
message 消息
equation 等式
transformer 转换器
partial function 偏函数
flatten 扁平化
transitive dependency 传递依赖
其他
图片存在根目录 images里面,按照章节分别存储,如ch1,ch2
最后更新于
这有帮助吗?