官术网_书友最值得收藏!

  • Professional Scala
  • Mads Hartmann Ruslan Shevchenko
  • 178字
  • 2021-07-23 17:24:18

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows:

Here, we define an immutable value with the name name, which keeps the user's  stdin.

The main method is an essential part of any Scala program.

A block of code is set as follows:

package com.packt.courseware
import scala.io.StdIn
object Chatbot1
{
   def main(args: Array[String]):Unit =  {
     // do something
   }
}

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: " Select Run sbt-test."

Important new programming terms are shown in bold. Conceptual terms are shown in italics.

Note

Important additional details about a topic appear like this, as in a sidebar.

Tip

Important notes, tips, and tricks appear like this.

主站蜘蛛池模板: 凌海市| 泸定县| 如皋市| 泽州县| 油尖旺区| 本溪| 新余市| 甘肃省| 岳西县| 岑溪市| 江都市| 大姚县| 永福县| 恩平市| 金川县| 西藏| 通榆县| 莲花县| 砚山县| 灵石县| 太湖县| 巴彦县| 巴东县| 手机| 和龙市| 康保县| 台东市| 陇川县| 毕节市| 灵山县| 诸城市| 莱芜市| 宝应县| 利辛县| 青河县| 石泉县| 淅川县| 绥中县| 手机| 浦北县| 青铜峡市|