Skip to content

Commit

Permalink
Merge branch 'scala:main' into zh-cn/overviews/scala3-book/tools-sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
benluo authored Jan 30, 2024
2 parents 612279d + 7b5417e commit b04face
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions _zh-cn/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: landing-page
language: zh-cn

title: 学习 Scala
namespace: root
discourse: true
Expand All @@ -25,8 +26,12 @@ sections:
description: "通过一系列小课程来学习 Scala。"
icon: "fa fa-book"
link: /zh-cn/scala3/book/introduction.html
- title: "Scala 工具箱"
description: "发送 HTTP 请求,写文件,运行进程,解析 JSON... "
icon: "fa fa-toolbox"
link: /toolkit/introduction.html
- title: "在线课程"
description: "新手和有经验的程序员在 moocs 学习 Scala。"
description: "新手和有经验的程序员在 MOOCS 学习 Scala。"
icon: "fa fa-cloud"
link: /online-courses.html
- title: 书籍
Expand Down Expand Up @@ -60,10 +65,14 @@ sections:
description: "Scala 语言特性的常见问题及答案。"
icon: "fa fa-question-circle"
link: /tutorials/FAQ/index.html
- title: "语言规范"
description: "语言规范"
- title: "语言规范 v2.x"
description: "Scala 2 正式的语言规范。"
icon: "fa fa-book"
link: https://scala-lang.org/files/archive/spec/2.13/
- title: "语言规范 v3.x"
description: "Scala 3 正式的语言规范。"
icon: "fa fa-book"
link: https://scala-lang.org/files/archive/spec/2.12/
link: https://scala-lang.org/files/archive/spec/3.4/
- title: "Scala 3 语言参考"
description: "Scala 3 语言参考"
icon: "fa fa-book"
Expand Down
2 changes: 1 addition & 1 deletion _zh-cn/overviews/scala3-book/fp-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permalink: "/zh-cn/scala3/book/:title.html"


Scala 允许您以面向对象编程 (OOP) 风格、函数式编程 (FP) 风格以及混合风格编写代码——结合使用这两种方法。
[正如 Martin Odersky 所说](https://twitter.com/alexelcu/status/996408359514525696),Scala 的本质是在类型化设置中融合了函数式编程和面向对象编程:
正如 Scala 的创建者 Martin Odersky 所说,Scala 的本质是在类型化设置中融合了函数式编程和面向对象编程:

- 逻辑函数
- 模块化的对象
Expand Down

0 comments on commit b04face

Please sign in to comment.