You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _ru/scala3/book/taste-hello-world.md
+40-36Lines changed: 40 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,14 @@ previous-page: taste-intro
12
12
next-page:
13
13
---
14
14
15
-
> **Hint**: in the following examples try picking your preferred Scala version.
15
+
> **Подсказка**: в следующих примерах попробуйте выбрать предпочтительную для вас версию Scala.
16
16
> <noscript><spanstyle="font-weight: bold;">Info</span>: JavaScript is currently disabled, code tabs will still work, but preferences will not be remembered.</noscript>
17
17
18
-
## Your First Scala Program
18
+
## Ваша первая Scala-программа
19
19
20
20
21
-
A Scala “Hello, World!” example goes as follows.
22
-
First, put this code in a file named _hello.scala_:
23
-
21
+
Пример “Hello, World!” на Scala выглядит следующим образом.
22
+
Сначала поместите этот код в файл с именем _hello.scala_:
24
23
25
24
<!-- Display Hello World for each Scala Version -->
Copy file name to clipboardExpand all lines: _ru/scala3/book/taste-intro.md
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,17 @@ next-page: taste-hello-world
14
14
15
15
16
16
В этой главе представлен краткий обзор основных возможностей языка программирования Scala 3.
17
-
After this initial tour, the rest of the book provides more details on these features, and the [Reference documentation][reference] provides _many_ more details.
17
+
После начального ознакомления остальная часть книги содержит более подробную информацию об описанных функциях,
18
+
а [справочная документация][reference] содержит массу подробностей.
18
19
19
-
## Setting Up Scala
20
+
## Настройка Скала
20
21
21
-
Througout this chapter, and the rest of the book, we encourage you to try out the examples by either copying
22
-
them or typing them out manually. The tools necessary to follow along with the examples on your own computer
23
-
can be installed by following our [getting started guide][get-started].
22
+
На протяжении этой главы и остальной части книги мы рекомендуем вам пробовать примеры, скопировав их или набрав вручную.
23
+
Инструменты, необходимые для работы с примерами на вашем компьютере, можно установить,
24
+
следуя нашему [руководству для началы работы со Scala][get-started].
24
25
25
-
> Alternatively you can run the examples in a web browser with[Scastie](https://scastie.scala-lang.org), a
26
-
> fully online editor and code-runner for Scala.
26
+
> В качестве альтернативы вы можете запустить примеры в веб-браузере с помощью[Scastie](https://scastie.scala-lang.org),
27
+
> полного онлайн-редактора и исполнителя кода для Scala.
0 commit comments