Skip to content

Commit 3662397

Browse files
committed
This is an early draft to demonstrate my writing style.
1 parent ceb734d commit 3662397

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

_overviews/overview/a-taste-of-scala.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,7 @@ description: This page provides a high-level overview of the main features of Sc
88
- test with jekyll on my system
99
-->
1010

11-
<!--
12-
√ A “Hello, world,” example, demonstrating scalac, scala, @main methods
13-
√ Show the REPL; mention ScalaFiddle and Worksheets
14-
√ Two types of variables: val and var
15-
√ Control structures examples (if/then, for, match, etc.)
16-
√ Data modeling
17-
√ Classes and methods
18-
√ Traits
19-
√ Case classes
20-
- enums & ADTs
21-
√ Mention that there is no need for new (not mentioning explicitly, just showing)
22-
- Collections classes and methods
23-
- New control syntax
24-
- Optional braces, indentation
25-
- Top-level defs and vals
26-
- Note to Al: mention “code blocks” (thinking of things like parameter untupling and more generally, anonymous functions)
27-
√ @main methods
28-
- First-class functions (section from Jonathan)
29-
- Lambdas
30-
- Higher-order functions (HOFs)
31-
- HOFs in the standard library
32-
- Mention Scalafix?
33-
-->
34-
35-
11+
<!-- TODO: this is a choppy start -->
3612
Our hope in this Overview documentation is to demonstrate that Scala is a beautiful, expressive programming language, with a clean, modern syntax. To help with that demonstration, this “Taste of Scala” section provides a whirlwind tour of Scala’s main features. After the initial tour in this section, the rest of the Overview will provide a few more details on the these features, and the Reference documentation will provide *many* more details.
3713

3814
>In this Overview it’s assumed that you’ve used a language like Java before, and you’re ready to see a series of Scala examples to get a feel for what the language looks like. You’ll also be able to test many of the examples directly on this page, and in addition to that, you can also test anything you’d like on [ScalaFiddle.io](https://scalafiddle.io), [Scastie](https://scastie.scala-lang.org), in Worksheets with the VS Code or Intellij IDEA editors, or in the Scala REPL, which will be demonstrated shortly.

0 commit comments

Comments
 (0)