Scala:研讨会建议 [英] Scala: Workshop Advice

查看:44
本文介绍了Scala:研讨会建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被要求为 PHP 受众举办 Scala 研讨会.这些人中的很多人根本没有接触过函数式编程语言,所以我想知道如何以一种方式介绍它们,以便他们充分利用它.

I've been asked to give a scala workshop to a PHP audience. A lot of these people never had any contact with a functional programming language at all, so I was wondering how to introduce them in a way so they get the most out of it.

听说很多人很难理解高阶函数等

I heard that a lot of people have a hard time understanding high order functions etc.

你有什么经历?我不想用太高级的东西吓跑他们,也不想让他们厌烦.

What are your experiences? I don't want to scare them off with too advanced stuff nor do I want to bore them to death.

研讨会将持续约 3 小时,约有 10 人参加.

The workshop will be approximately be 3 hours long with about 10 attendees.

感谢您的意见.

问候,瑞秋

推荐答案

我建议遵循 将 Scala 潜入您的组织.

但在此之前,请确保展示静态类型系统的含义以及推理如何使大量类型注释变得不必要.

But before that make sure to show the implications of a static type systems and how inference makes lot of type annotations unnecessary.

对于函数编程,不要忘记定义重要的东西,比如闭包、lambdas(匿名函数)以及它们如何适应 Scala 的 OO.

For function programming don't forget to define important things like clousures, lambdas (anonymous functions) and how they fit in Scala's OO.

这篇关于Scala:研讨会建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆