Show HN:Scala 教程 – 浏览器中的交互式 Scala 3 课程
Show HN: Scala Tutorials – interactive Scala 3 lessons in the browser

原始链接: https://scalatutorials.com

Scala 教程 交互式、小篇幅的教程,每页都配有实时编辑器。免费且开源。代码运行在 Scala Center 的在线实验平台 Scastie 上。无需安装,无需注册。 在 X 上分享 // 按下运行按钮来尝试! // 例如:欧拉计划第 1 题: (1 until 1000).filter(x => x % 3 == 0 || x % 5 == 0).sum 边读边运行 每节课程都配有由 Scastie(Scala Center 的在线实验平台)驱动的实时编辑器。 小步快跑 四十多个专注的主题页面,从算术到类,每一篇只需一两分钟即可读完。 支持 Scala 3 本教程面向 Scala 3,并设有专门章节介绍自 Scala 2 以来的变化。 代码运行于 Scastie(Scala Center 的在线实验平台) · GitHub 源码 · Atom

```Hacker News最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交登录Show HN: Scala 教程 – 浏览器中的交互式 Scala 3 课程 (scalatutorials.com)6 分,由 eranation 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 2 条评论帮助 otobrglez 10 分钟前 | 下一条 [–] 太棒了。谢谢!=)回复eranation 1 小时前 | 上一条 [–] 这是我在 2013 年做的一个个人项目 [0]……最近重启了它(在 Claude 的帮助下),并将其更新到了 Scala 3。欢迎提供反馈![0] https://news.ycombinator.com/item?id=7614130回复 考虑申请 YC 2026 年秋季班!申请截止日期为 7 月 27 日。 准则 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系方式 搜索: ```
相关文章

原文
Scala Tutorials

Interactive, bite-sized tutorials with a live editor on every page.

Free and open source. The code runs on Scastie, the Scala Center's playground. Nothing to install, no account needed.

Share on X

//Press Run to try it!
//e.g. Project Euler problem #1:
(1 until 1000).filter(x =>
  x % 3 == 0 || x % 5 == 0).sum

Run as you read
Every lesson has a live editor powered by Scastie, the Scala Center's playground.

Small steps
Forty-odd focused pages, from arithmetic to classes. Each one takes a minute or two.

Scala 3 ready
The tour targets Scala 3, with a dedicated section on what changed since Scala 2.

联系我们 contact @ memedata.com