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.