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

  • 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.

主站蜘蛛池模板: 无为县| 城市| 丰镇市| 阳信县| 忻城县| 佛山市| 和平县| 平阳县| 绥江县| 北票市| 江川县| 上饶县| 隆回县| 江达县| 伊川县| 灌南县| 尼木县| 台湾省| 九江市| 泸州市| 策勒县| 山阳县| 清河县| 二手房| 北宁市| 荣成市| 普宁市| 密云县| 沙坪坝区| 兴山县| 龙南县| 广东省| 英山县| 双桥区| 肇源县| 阿尔山市| 公主岭市| 曲阳县| 兰州市| 蒙城县| 黑山县|